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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
JanGunni
Frequent Visitor

Card Visual with Variable to reference 1 of 27 columns based on slicer

Hey, I am trying to do the following:

 

I have a report page with 3 graphs and two slicers. 

- Slicer A references a time frame

- Slicer B references one of 27 units.

 

The graphs show one of 27 units at the given time frame. 

 

I want to add a card to the graph displaying the average value for the time frame and unit. 

 

The card value only allows one field, tried to do it with a field measure but was only semi successful since it required another slicer on the page which I want to avoid. 

 

Can I write a measure that is essentially a variable? I will have the measure to calculate the average in each of the 27 units. I want the variable to reference one of them based on the selection in the unit slicer. 

1 ACCEPTED SOLUTION
JanGunni
Frequent Visitor

I found a solution myself! To anyone who needs to know how this works:

 

- I created the average measure in each of my tables.

- I created one additional measure that sums up all of the average measures.

- That one summation measure I put into the field value for the card and it is filtered by the unit filter! 

View solution in original post

1 REPLY 1
JanGunni
Frequent Visitor

I found a solution myself! To anyone who needs to know how this works:

 

- I created the average measure in each of my tables.

- I created one additional measure that sums up all of the average measures.

- That one summation measure I put into the field value for the card and it is filtered by the unit filter! 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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