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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
deepakb18
Helper I
Helper I

Can we use parameter value in custom query ?

Hi

 

I am using 4 what if parameter (Currency Rate) in Power BI and user are suppose to change the parameter value. Based on Parameter value and some logic I was calculating Final Amount (Amount from Input File * Currency Rate( as per currency code coming against each amount.

 

Now I have final amount after currenct conversion and now i have defined Range as measure and based on range like 1-1000, 1001-2000,2001-3000 i need to show no of accounts have that final amount.

 

PROBLEM : I can use measue as measue can not be use in Stacked column Chart on X axix. So i need to use column for defining range but problem is if i change paramter value then Measure FInal Amount do not changes hence Number of accounts coutn coming wrong.

 

Any Suggestion ?

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

Not quite following that one.  Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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