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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.