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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Tarek78210
Frequent Visitor

Power Pivot showing all data with no values

Hi All,

The image below is showing the actual revenue and budgeted revenue per customer (variance in € and in %).

 

For some reasons, the pivot table is showing the list of all customers even if there is no budget or actuals (all the rows at -100%).

 

How can I stop showing all those empty rows showing -100%? If it is a genuine -100% (meaning there was a budget amount but no actuals), I want to show it. However, when there are no budget nor actuals, I don't want to show this in my pivot.

 

Thanks,

CUSTOMER.PNG

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

This DAX pattern should work

Measure = if(and([Actual]=blank(),[Budget]=blank()),blank(),[your measure])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Daniel29195
Super User
Super User

@Tarek78210 

 

if column H is a measure called measure_h and second measure called actuals /

 

measure_h = 

//code here

var variance=  code here

return 

if( isblank([actual]) ,  blank() ,  variance ) 

 

 

let me know if this helps .

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.