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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
rejishravindran
Frequent Visitor

currency conversion through dynamic date selection

Hi - i need help with two requirements. am new to powerbi space.

 

Dataset is a live connection.

 

1) How to get the user input date(Single selection)? For example user is going to input the date in the screen(not through dropdown or vertical list). I tried changing the data type to text but it doesnt help user to input the date. It allows them to search the date in the drop down. 

 

2) Using the user input date, i have perform currency conversion. i have exchange rate table and transactions table. Whenever user input any date - based on that date currency conversion triggers(convert them into USD values).  

Below is the formula i used:

 

Revaluated amount =

var _date = SELECTEDVALUE('Exchange rate'[Date])

var _conv = CALCULATE(SUM('Exchange Rates'[exchange_rate]),TREATAS({_date},'Exchange rate[Date]))

RETURN

calculate(sum(transaction amount)/_conv)

 

Any pointers would be great help. 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @rejishravindran ,

The Slicer that comes with Power BI only allows the user to input the date by themselves if the Style is Between, all other types of slicers do not support inputting the date by themselves. 
It would have been possible to use the Numeric range parameter as a workaround because the slicer created by the parameter has input functionality, but since you mentioned that your connection mode is Live connection, the parameter functionality is not available in that connection mode, so that workaround won't work either.

In this case, if you insist on needing input functionality, then perhaps custom visual is the only way to go:
Using custom visual requires that you first log in to Power BI Desktop using your company or school's intra-organizational account.

vjunyantmsft_0-1715652052188.png

I think this custom visual might possibly help you:

vjunyantmsft_1-1715652170237.png

 

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @rejishravindran ,

The Slicer that comes with Power BI only allows the user to input the date by themselves if the Style is Between, all other types of slicers do not support inputting the date by themselves. 
It would have been possible to use the Numeric range parameter as a workaround because the slicer created by the parameter has input functionality, but since you mentioned that your connection mode is Live connection, the parameter functionality is not available in that connection mode, so that workaround won't work either.

In this case, if you insist on needing input functionality, then perhaps custom visual is the only way to go:
Using custom visual requires that you first log in to Power BI Desktop using your company or school's intra-organizational account.

vjunyantmsft_0-1715652052188.png

I think this custom visual might possibly help you:

vjunyantmsft_1-1715652170237.png

 

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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