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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
RMDNA
Solution Sage
Solution Sage

Dynamic text

Hi all,

 

I have a Running Total calculated column, where % of Total and Rank are also both calculated columns.

 

Running Total = 
CALCULATE (
    SUM ('Table'[% of Total]),
    FILTER (
        ALL ('Table'),
		'Table'[Rank] <= EARLIER ('Table'[Rank])
    ))

 

What I'm looking to do is to check that value, and if it's beyond a certain threshold (say, 80%), assign it a text value ("High", for example). However, it also needs to be dynamic - if a set of filters would drop that number below 80%, it would get renamed to "low."

 

Assigning a text value is usually for columns, dynamic things are for slicers. Is there any way to get the result I need?

1 ACCEPTED SOLUTION
Floriankx
Solution Sage
Solution Sage

Hello,

 

you can apply Text to measure, but you can't use them to group for Pivot.

 

Check_Value:=If([Running Total]>=0,8,'High','Low'). This should work.

This always checks your Running Total. If this value changes due to slicer it should update automatically.

 

Give it a try.

View solution in original post

2 REPLIES 2
Floriankx
Solution Sage
Solution Sage

Hello,

 

you can apply Text to measure, but you can't use them to group for Pivot.

 

Check_Value:=If([Running Total]>=0,8,'High','Low'). This should work.

This always checks your Running Total. If this value changes due to slicer it should update automatically.

 

Give it a try.

@Floriankx,

 

This worked great, thanks! I need to take things one step further, but I'll break that into another post.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.