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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
jaweher899
Impactful Individual
Impactful Individual

dynamic table

Hi,

 

I've the following reprot https://1drv.ms/u/s!Amd7BXzYs7AVlyc5r1DY_LAlvLFQ?e=vc9qqy

I'd like to link between measures and the choices by user

Measuresslicer
Marginvariance
Margin %%variance
Diffvariance
Diff %%variance

 

Margin = [Sales Amount] - [Total Cost]
 When the suer selects  [Sales Amount]  [Total Cost] and variance, it'll displayed [Sales Amount] , [Total Cost] and Margin
jaweher899_1-1671804812231.png

 

  When the suer selects  [Sales Amount]  [Total Cost] and %variance, it'll displayed [Sales Amount] , [Total Cost] and Margin%

jaweher899_0-1671804750539.png

 

diff = sum(Sales[Net Price])-sum('Product'[Unit Price])
 
when the user selects   [Sales Amount]  [Total Cost] , net price , unit cost and variance, it'll displayed [Sales Amount] , [Total Cost] and Margin and diff

In the real project i've about 80 measures and I eed to creat a separate slicer to calculate variance and %variance

1 ACCEPTED SOLUTION

Thats why I said "Value 1 and Value 2 change it to be the measures that end user can select". Simply add a possible measures combinations and the end user will select 2 correct one, they will appear in Value 1 and Value 2 measures to be shown the var and %var like in the previous post.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

4 REPLIES 4
bolfri
Solution Sage
Solution Sage

Hello @jaweher899,

 

It's the same scenario like before: https://community.powerbi.com/t5/Desktop/dynamic-columns-in-table/m-p/2984827#M1019750 and I gave you the solution there. You just only need to apply possible scenarios that user can pick.

 

The difference here is not only select what kind of columns needs to appear Value 1, Value 2, Difference, %Difference (like in your prebious post), but in the Value 1 and Value 2 change it to be the measures that end user can select.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




jaweher899
Impactful Individual
Impactful Individual

@bolfri the end user would like to have a slicer variance and %variance separately from the other slicer for the measures. 

Thats why I said "Value 1 and Value 2 change it to be the measures that end user can select". Simply add a possible measures combinations and the end user will select 2 correct one, they will appear in Value 1 and Value 2 measures to be shown the var and %var like in the previous post.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




jaweher899
Impactful Individual
Impactful Individual

@bolfri could you please share thr pbix file and I'll check it? Thank you

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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