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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.