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
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
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