cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
venkatramp
Frequent Visitor

Dynamic Metrics Selection

Can someone help in creating dynamic table based on user selection (ala a carte metrics)

Based on user selection the table should change dynamically and only show those metrics seleted by user.

Lets say I have 10 Metrics in my slicer and user selects only 5 metrics, table should only show 5 metrics selected by user.

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi, @venkatramp

First, you should know that calculated column and calculate table can't be affected by any slicer. you could create a measure instead of column.

Notice:

1. Calculation column/table not support dynamic changed based on filter or slicer.
2. Measure can be affected by filter/slicer, so you can use it to get dynamic summary result.

here is reference:

https://community.powerbi.com/t5/Desktop/Different-between-calculated-column-and-measure-Using-SUM/t...

https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/

Second, you want to change the table dynamic, you could just use Parameters in Power BI to change the parameter and refresh the dataset.

This is the tutorial for you to refer to

reference:https://www.mssqltips.com/sqlservertip/4475/using-parameters-in-power-bi/

 

 

Best Regards,
Lin

 

 

 

 

 

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi, @venkatramp

First, you should know that calculated column and calculate table can't be affected by any slicer. you could create a measure instead of column.

Notice:

1. Calculation column/table not support dynamic changed based on filter or slicer.
2. Measure can be affected by filter/slicer, so you can use it to get dynamic summary result.

here is reference:

https://community.powerbi.com/t5/Desktop/Different-between-calculated-column-and-measure-Using-SUM/t...

https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/

Second, you want to change the table dynamic, you could just use Parameters in Power BI to change the parameter and refresh the dataset.

This is the tutorial for you to refer to

reference:https://www.mssqltips.com/sqlservertip/4475/using-parameters-in-power-bi/

 

 

Best Regards,
Lin

 

 

 

 

 

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!