Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have created a custom column (StdSvcKey) which is concatentation of two other columns (Sell-to Customer No. & Standard Service Code).
Currently if the Standard Service Code has a null value, but the Sell-to Customer No. field is not blank, my new custom column shows the contents of the Sell-to Customer No. field. I need it to show as null if there is nothing in the Standard Service Code.
This is what I need it to look like:
But currently I'm getting this:
Solved! Go to Solution.
The below will handle nulls and ""
Column = IF( NOT( ISBLANK( 'Table'[Standard Service Code] ) || 'Table'[Standard Service Code] = "" ), 'Table'[Sell-to Customer No.] & 'Table'[Standard Service Code] )
No sadly that didnt work. It still returns the value from the Sell-to Customer No. field. I want it to be null if the Standard Service Code field is null.
This is the DAX i used:
The below will handle nulls and ""
Column = IF( NOT( ISBLANK( 'Table'[Standard Service Code] ) || 'Table'[Standard Service Code] = "" ), 'Table'[Sell-to Customer No.] & 'Table'[Standard Service Code] )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
94 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |