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
Anonymous
Not applicable

Showing [Profit%] values less than 50.

Hi

 

I am trying to figure out how to display Profit% values below 50% only or have the option to exclude values above.  As profit% is a measure i am having trouble understanding the logic to do this. Ideally, a slicer would be useful. Otherwise perhaps there is a better measure that will only show values less than 50% 

 

FYI, i am using Excel Powerpivot to do this and not powerBI.

 

Project Number[Sales][Profit][Profit%]
330020067%
11005050%
660030050%
43005017%
54006015%
2200105%
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Best is to have a visual level filter [profit %] <50 %

 

Else you have do this for all measures in visual

example measure for profit % and Sales

AverageX(Filter(Summarize(Table[Project Number],"_1",[Profit %]),[_1]<50),[_1])


SumX(Filter(Summarize(Table[Project Number],"_1",[Profit %],"_2",[sales]),[_1]<50),[_2])

 

 

Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Best is to have a visual level filter [profit %] <50 %

 

Else you have do this for all measures in visual

example measure for profit % and Sales

AverageX(Filter(Summarize(Table[Project Number],"_1",[Profit %]),[_1]<50),[_1])


SumX(Filter(Summarize(Table[Project Number],"_1",[Profit %],"_2",[sales]),[_1]<50),[_2])

 

 

Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.

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