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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
BishwaR
Helper V
Helper V

Hide the measure total in the report

I have created a flag using DAX like Flag= IF(Discount >0,"Y","N") it works fine but at the bottom of the report it gives the Total.

 

Discount   Flag

2               Y

1               Y

0               N

--------------

Total         Y

I want to hide Y at the bottom by not using the Field Formatting ( selecting font color white and apply to Total)

 

Thanks

 

Bishwa

2 REPLIES 2
amitchandak
Super User
Super User

@BishwaR , Based on group by of your visual

 

IF(isinscope(Table[Group]) && Discount >0,"Y","N")

 

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

or

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks a lot for your feedback. For some reason isinscope did not work for me so I replaced it with HASONEVALUE and it work fine.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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