Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
KStock
Frequent Visitor

Create a SUM measure that sums conditionally based on blank values in another column

I have a column with calculated values.  I now want another column that sums those values only when the values in another calculated column are blank.  In the screen shot, I'd like to sum up Percentage of Sales LY where Total Sales TY is blank.sum help.png

1 ACCEPTED SOLUTION
kcantor
Community Champion
Community Champion

@KStock

Unfortunately, I cannot see the image clear enough to use the data but here is a stab in the dark.

CALCULATE([Percentage of Sales LY], TableName[Total Sales TY]="")

This is just using your measure names from your description. You would need to modify that calculation to use your actual measure names as well as the table name.

I cannot see the screen capture, though, so I may be completely off base.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
kcantor
Community Champion
Community Champion

@KStock

Unfortunately, I cannot see the image clear enough to use the data but here is a stab in the dark.

CALCULATE([Percentage of Sales LY], TableName[Total Sales TY]="")

This is just using your measure names from your description. You would need to modify that calculation to use your actual measure names as well as the table name.

I cannot see the screen capture, though, so I may be completely off base.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.