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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

Dynamic slicer columns

Hi,

I have a table 

 

Annotation 2020-03-05 150254.png

 

I want calculate 3 new columns. 

 

Max = Story point * Low confidence multiplier

Min = Story point * high confidence multiplier

Medium = if (confidence = High then Story Point * High confidence multiplier
  Elseif confidence = Medium then Story point * medium confidence multiplier

  Else Story point * medium confidence multiplier

 

I then want to dynamicaly update through slicer the confidence multiplier for each level of confidence, hence I created three disconnected parameter tables

 

Annotation 2020-03-05 150256.png

 

The result should look more or less like this, where with each change to confidence I would see update on the chart

Annotation 2020-03-05 150255.png

 

When I tried to measure with following formula, I get blank results. 

 

MD Minimum M = SUMX('Work Items - Today',
                'Work Items - Today'[SP MD] * SELECTEDVALUE('High confidence multiplier'[High confidence multiplier]))

 

 

I also tried a column

 

MD Minimum = 'Work Items - Today'[SP MD] * SELECTEDVALUE('High confidence multiplier'[High confidence multiplier])

 

 

but also blank result

What am I doing wrong?

Thanks for help

Best

Marcin 

1 ACCEPTED SOLUTION
dax
Community Support
Community Support

Hi @Anonymous , 

I am not sure your problem, you could refer to my sample for details. If this is not waht you want, please correct me and inform me more detailed information.

Best Regards,
Zoe Zhi

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

3 REPLIES 3
Greg_Deckler
Super User
Super User

Can you post that sample data as text? Also, note that you cannot have a column update dynamically based on a slicer. Once you introduce interactivity into the equation, you need to use measures.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Here you are. I tried both, none work, but good to know, columns won't work, already an important hint 🙂

 

Work Item IdConfidenceSP MD
10High5
11High3
12Low110
13High3
14Medium5
15High3
16Low10
17Low5
18Medium5
19Medium5
20Low5
21High10
22Medium10
23High3
24Medium5
25Medium10
27Medium10
28High3
29Medium10
30High3
31High3
32Low10
34Medium10
35Medium5
dax
Community Support
Community Support

Hi @Anonymous , 

I am not sure your problem, you could refer to my sample for details. If this is not waht you want, please correct me and inform me more detailed information.

Best Regards,
Zoe Zhi

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

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.