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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Kolumam
Post Prodigy
Post Prodigy

Dynamic measure with Parameter changes

Hi All,

 

I have a column called "Annual PV Consumed MWH". I created a parameter with values from 1 to 25. So when a user clicks on 1, the calculated column should multiply the below forumla

dssds.JPG

But it's not working. When I change the slicer of X value, the energy doesn't change. Please help.

dafee.JPG

4 REPLIES 4
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Kolumam,

 

Did you solve it? Can you share the answer or mark the proper answer as a solution, please?

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Kolumam,

 

Seems you created a calculated column which is relatively stable. That means it won't change along with the slicer. Try  @Phil_Seamark's solution please.

 

Best Regards,

Dale

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

Hi @Kolumam

 

Are you trying to add as a calculated column or calculated measure?

 

The syntax you use suggests a calculated column (which won't work).

 

If you are using a calculated measure, you may need to wrap your [Annual PV Consumed MVH] with a MAX 

 

I've attached a basic model that may be close to what you are after.

 

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Zubair_Muhammad
Community Champion
Community Champion

@Kolumam

 

Try wrapping the column name inside SELECTEDVALUE

i.e.

 

SELECTEDVALUE('Site Names (2)'[Annual PV Consumed MHW])


Regards
Zubair

Please try my custom visuals

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors