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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Slaper
Frequent Visitor

How in a column to not show some values based on a change in another column

Hello,

I have a table named tbl. In report view I created a table like below with some measure.
Now my question is how do I get the calculated value only on the last row just before an other Team, and not on each row as I wrote What i get. The %_value calculate I with two measures.

I use this table as a tooltip

 

%_valueTeamOrderTime RunTime Run net what i get
 T_1o_11:101:00 111%
111%T_1o_22:102:00 111%
 T_2o_20:551:00 81%
81%T_2o_33:003:50 81%
 T_3o_42:001:50 98%
 T_3o_50:100:20 98%
 T_3o_60:200:22 98%
98%T_3o_70:530:55 98%
       
       
 %_Val = SUM(tbl[Time Run]) / SUM(tbl[Time Run net])
 %_Value = CALCULATE([%_Val],ALLEXCEPT(tbl,tbl[Team]))
1 ACCEPTED SOLUTION
Slaper
Frequent Visitor

The filter was a slicer , but with dates its was not working, so I punt a filter on 'Filter on this visuale' and if a other value was Blank, then this record was not shown 🙂

I used it for a tooltip.

View solution in original post

3 REPLIES 3
Slaper
Frequent Visitor

The filter was a slicer , but with dates its was not working, so I punt a filter on 'Filter on this visuale' and if a other value was Blank, then this record was not shown 🙂

I used it for a tooltip.

Anonymous
Not applicable

Hi @Slaper ,

Please follow these steps:

  1.        Turning Measure into Column

vyifanwmsft_15-1700459400583.png

 

 

 

Column%_Val =
'Table'[Time Run] / 'Table'[Time Run net]
Column%_value =
CALCULATE ( [%_Val], ALLEXCEPT ( 'Table', 'Table'[Team] ) )

 

 

  1.         Arrange in order with measure

vyifanwmsft_14-1700459338236.png

 

sequence =
RANKX (
    FILTER (
        ALL ( 'Table' ),
        'Table'[Column%_value] = SELECTEDVALUE ( 'Table'[Column%_value] )
    ),
    CALCULATE ( MAX ( 'Table'[Order] ) ),
    ,
    DESC,
    DENSE
)

 

 

  1.        Final output

vyifanwmsft_16-1700459447510.png

 

result =
IF ( 'Table'[sequence] = 1, 'Table'[%_Value], "" )

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Yifan Wang

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

thanks for the reply, but I use this for a tooltip , and want to filter over year month week day, for the moment it  gives all the date and does not want to filter

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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