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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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])

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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