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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors