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
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
v-eqin-msft
Community Support
Community Support

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