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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
anandasim88
New Member

How to recalculate measures used in a DAX table made of a union of rows of measures

I have synthesised a DAX table using a UNION of ROWs of different measures. (I used this approach because I wanted to put several rows together of unassociated measures into clean looking table with cell borders.

The latest client request is that we want to use a Slicer. I can use the SELECTEDVALUE of the Slicer and the measures using that formula will recalculate if the user chooses something in the Slicer. This works if the measures are in separate Cards. However, if the measures are used in the DAX table mentioned above, they don't recalculate when the slicer changes.

An example of the UNION table code is

Stats = UNION (
    ROW("Country",CALCULATE(SELECTEDVALUE(DAXCountries[Value]))),
    ROW("Country",CALCULATE([SlicerValue]))
    )
 


Neither cell formula will react to a change in the Slicer value

Is this possible?

Thanks

Ananda

1 REPLY 1
johnt75
Super User
Super User

No, it isn't. Calculated tables are only calculated on data refresh, so they don't pay any attention to slicers or filters. 

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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