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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
gladies123
Helper I
Helper I

Reg: hide a value

Hi,

Kindly help me to hide a value(1) which is highlighted i have created si.no using following dax(measure)

si.no= RANKX(ALLSELECTED(cxsurrender[V_RET_RESULT]),CALCULATE(SUM(cxsurrender[Index])),,DESC,Dense) that's why 1 is displaying please help me to hide that 1.
thanks,
gladis

 

gladies123_1-1635247441329.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Check whether you use right field in HASONEVALUE function. It should work.

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @gladies123 ,

 

Let's take an example:

Measure = IF(ISINSCOPE('Table'[Column1]),1,BLANK())

Eyelyn9_1-1635485816290.png

 

So you measure may be:

Measure = IF(ISINSCOPE('Table'[the ROW field in matrix]),[your rank measure],BLANK())

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@gladies123 Try this:

si.no= IF(HASONEVALUE(cxsurrender[your_crossed_out_field]),RANKX(ALLSELECTED(cxsurrender[V_RET_RESULT]),CALCULATE(SUM(cxsurrender[Index])),,DESC,Dense),BLANK())

Thanks but it returned blank

Anonymous
Not applicable

Right, for total it returns blank. What should it return?

it returns whole column as blank, 1(value) in the total section has to hide

Anonymous
Not applicable

Check whether you use right field in HASONEVALUE function. It should work.

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.