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
jmg80525
Helper I
Helper I

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.

View solution in original post

2 REPLIES 2
jmg80525
Helper I
Helper I

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.

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.

Top Solution Authors