cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User IV
Super User IV

Re: Can we use parameter value in custom query ?

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


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Highlighted
Helper I
Helper I

Re: Can we use parameter value in custom query ?

Helpful resources

Announcements
Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors