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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
jmg80525
Helper II
Helper II

Filter on multiple measures for specific context

Greetings.  I have a financial report that has an undeseriable output based on row context.  For whatever reason accounting will post a expense transaction and then reverse so the total amount will be zero.   It shows up in the report as shown below (Total Actual) since there are data values. I can't just filter out Total Actual <> 0 since there are times where there are budget transactions, but no expenses.  I can't filter out Total Variance <> 0 since sometimes total budget magically equals total  expenses.  I need a measurement where it would filter out rows produced under a context where Total Budget = 0 and Total Actual  = 0.  I'm having issues producing a compund measurement that I could apply to the matrix visual to capture and filter out this scenario.

 

jmg80525_1-1643066820367.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@jmg80525 , No very clear.

 

You can have measure like

if(calculate([Total Budget], all('Date'))  =0, blank(), [Total Budget])


Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
jmg80525
Helper II
Helper II

Just what I needed to get me focused.  Above suggestion works perfect.

amitchandak
Super User
Super User

@jmg80525 , No very clear.

 

You can have measure like

if(calculate([Total Budget], all('Date'))  =0, blank(), [Total Budget])


Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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