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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
DQuigg
Advocate III
Advocate III

Conditional Formatting with Calculation Groups and Measure Table

Hi All,

 

I am new to calculation groups so still learning and hoping I can get some help.

 

I have a measure table that simply swaps out measures using SWITCH statements to other explicit measures based on the table selection. I have over 150 measures in this table and I want the user to be able to select them dynamically. So far so good. 

 

The problem is that some of them should be formatted as whole numbers and some as percentages. So it seems like a natural job for calculation groups except the only examples I have seen for calculation groups are using explicit measures. Here, I need to essentially qualify the result based on the selection in the measure table. I tried using ISSELECTEDMEASURE but the name used is the master KPI measure. Seems very basic yet so elusive. How can I use the measure as selected from my table and then format it using calculation groups?

 

Thanks!!

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

2 REPLIES 2
DQuigg
Advocate III
Advocate III

Thank you @amitchandak !!

 

The first one looks reasonably close. I will need to kind of walk through it piece by piece. 

amitchandak
Super User
Super User

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.