Blogs

Power App-Power FX- Galleries - if this field value equals NULL then display another column value

Reference: Blue= Null Field

In the text Property for the field:

Coalesce(ThisItem.NewLocation.Value, ThisItem.CeremonyLocation.Value)

 

Explanation:

If "ThisItem.NewLocation.Value" is Null or Blank then it will display this field> "ThisItem.CeremonyLocation.Value"

Capture UserName of submitter- Power Apps to SharePoint List

Add the SharePoint List field to your edit form and put this in it's DEFAULT property.

Coalesce(

 ThisItem.UpdatedBy,

 User().FullName

)

 

Then set the Visible property to: false

 

laugh

Power Apps Cheat Code- Filters DataSource by All but have extra condition

I need the filter to filter the datasource by status color and show me all records by default but only of the the Yellow color.

If (

    //This is for all and all

    DDLocations.Selected.Value = "All" And DDTimes.Selected.Value = "All", Filter('2025SummerGradCeremony',StatusColor.Value = "Yellow"),

    //This is for all locations and selected times

    DDLocations.Selected.Value = "All" And DDTimes.Selected.Value <> "All",

Get DataVerse Choice Column Text Value with Power Automate

Run you flow once with the List rows action and look at the outputs. Should look like the below if you are in an environment.
Table_diplomaorderedrcvd@OData.Community.Display.V1.FormattedValue":"No","Table_diplomaorderedrcvd":false,"Table_diplomapending@OData.Community.Display.V1.FormattedValue":"-","

Power Apps Gallery Items Color and Icon displayed based on Dataverse Column Value and Yes/No Columns

Change background color of Item base on values and conditions:

Gallery Property: TemplateFill

The DAX:
If(ThisItem.'U_STU_AcademicStats.DIPLOMA_EARNED'= "Yes" && ThisItem.'Graduation Location' <> "-", Color.LightGreen, ThisItem.'U_STU_AcademicStats.DIPLOMA_EARNED' = "No", Color.LightCoral)

Center Align Text Labels, Buttons, forms and more in Power Apps

Add this to the "X" property of you element.

(Parent.Width / 2) - (Self.Width / 2)

 

Saved a ton of time!  Thanks to Micheal Alex!

PowerSchool Student Search Queries Operators

I am always trying to find these. Easy reference.

Search Operators

Twig tweak- If node is not the front page display div - Node Twig Template

I could not find a simple way to do this or at least I couldn't find any instruction in twig docs. 
if is_front == false Did not work.

 

The below twig did, mind your home page may no be Node 1 like mine is. So change "1" if you need to.

 

{% if node.id == 1 %}

{% else%}
<div class= "pageheaders"><img src="/images/headerbeach.jpg"/></div>
{% endif %}

 

OR

{% if node.id != 1 %}
<div class= "pageheaders"><img src="/images/headerbeach.jpg"/></div>

{% else%}

Twig Template - Title with link to Node content Drupal 11

This can be use in a twig template for a view teaser.

 

<h4 class="title"><a href="{{ url }}" rel="bookmark">{{ node.label }}</a> </h4> 

 

{{ url }} will create a link to the node associated with the view.

Power Query- Code Cheater Code for IF equals and Does Not Equal Null

I wanted my script to look at values but ignore the "Null" values for the comparison 

 

 

Table.AddColumn(#"Split column by delimiter 1", "PSStudentAddressMatches", each if [PSMailingAddress.1] <> [PSMailingAddress.2] and [PSMailingAddress.2] <> null  then "PS Address Flag"

else if [PSMailingAddress.1] <> [PSMailingAddress.3] and [PSMailingAddress.3] <> null  then "PS Address Flag"

else if [PSMailingAddress.1] <> [PSMailingAddress.4] and [PSMailingAddress.4] <> null then "PS Address Flag"

Pages

Subscribe to RSS - blogs