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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
macinr
Helper I
Helper I

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 @macinr , 

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.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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 @macinr , 

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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