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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to use DAX SelectedMeasure and ISSELECTEDMEASURE Functions

Hi PBI,

 

I have a requirement to change the calculations on a Table like (YTD/ QTD/MTD) based on Selections on a Filter. I came across this DAX function SELECTEDMEASURE which would be used for that in this below Article.

https://www.sqlbi.com/articles/introducing-calculation-groups/

 

I have currently imported all the Data into my Power BI Model and have not used an Analysis Services Instance connections for Data. I would like to understand how I could create a Calculated Item just as Shown in the above link so that I could make calculations dynamic based on the Selection made on a Slicer. 

 

Thanks in Advance

4 REPLIES 4
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

I don't think CALCULATED GROUPS are available in Power BI just yet.

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski

 

Anonymous
Not applicable

Is there Any other Workaround that I could use for this Requirement. Basically, what is needed is that I require to have a Filter where I specify what the Calculation is from which The Table Measures should throw the values based on the Selected Calculation.

Anonymous
Not applicable

The blog that @Mariusz is very useful if you plan on using a slicer. The other option is to use 3 buttons that mimic the appearance of slicer. create a single visualization for each, layer them, then use the button to go between them based on the selected button. Use the show hid in the selection pane to toggle.

Hi @Anonymous 

 

Sorry not sure what you want to achieve, but check out the below link to a blog post, maybe that is what you need.

https://community.powerbi.com/t5/Community-Blog/Dynamically-change-the-information-within-a-visual-via-a-slicer/ba-p/87027

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski

 

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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