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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors