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
michael_knight
Post Prodigy
Post Prodigy

Slicer making percent 100% rather than the actual percent

Hi, 

 

I'm having trouble with a slicer that I've added to my report. I originally wanted to create a slicer with the options from an IF statement, like so..

help 3.PNG

After some advice on here I could only do this by creating a new column using this code...

Spread Outcome = IF([Spread Offer Low] = [Final Option Price]&&[Spread Offer High]=[Final Option Price], "Fixed",

IF([Average] >= [Final Option Price], "Low",

IF([Average] < [Final Option Price], "High")))

When I try to use this slicer I keep on getting this problem.

Help 6.PNG

I want to eventually have Fixed, Low and High in a Line Chart and use the slicer to only show whichever one I select in the slicer, but I can't get past this problem 

 

Any help would be welcomed.

 

Thanks,

 

Mike

 

 

 

1 ACCEPTED SOLUTION

Your Total formula seems wrong. It shall be like 

Total =
CALCULATE (
    COUNT ( 'Properties - Spread'[Agent] ),
    ALL ( 'Properties - Spread'[Spread Outcome] )
)

Thanks
Ankit Jain
Do Mark it as solution if the response resolved your problem. Do Kudo the response if it seems good and helpful.

View solution in original post

3 REPLIES 3
AnkitBI
Solution Sage
Solution Sage

Can you share sample data or PBIX file?

Your Total formula seems wrong. It shall be like 

Total =
CALCULATE (
    COUNT ( 'Properties - Spread'[Agent] ),
    ALL ( 'Properties - Spread'[Spread Outcome] )
)

Thanks
Ankit Jain
Do Mark it as solution if the response resolved your problem. Do Kudo the response if it seems good and helpful.

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.