Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, need help with the following:
The PBI report has a slicer of 2 currencies, US$ and Euro. Have a matrix visual with prices.
What is needed is to display the prices formatted according to the currency selected.
Please advise how can I do this.
Thanks
Solved! Go to Solution.
@Chapin4u wrote:
Hi, need help with the following:
The PBI report has a slicer of 2 currencies, US$ and Euro. Have a matrix visual with prices.
What is needed is to display the prices formatted according to the currency selected.
Please advise how can I do this.
Thanks
You could try to create a measure if you have a table like
price Measure = SWITCH ( ISFILTERED ( price[currency] ) && HASONEVALUE ( price[currency] ), LASTNONBLANK ( price[currency], "" ) = "Euro", FORMAT ( MAX ( price[price] ), "€##.00" ), LASTNONBLANK ( price[currency], "" ) = "US$", FORMAT ( MAX ( price[price] ), "$##.00" ), FORMAT ( MAX ( price[price] ), "$##.00" ) //if the slicer doesn't pick up any currency, use US$ by default )
@Chapin4u wrote:
Hi, need help with the following:
The PBI report has a slicer of 2 currencies, US$ and Euro. Have a matrix visual with prices.
What is needed is to display the prices formatted according to the currency selected.
Please advise how can I do this.
Thanks
You could try to create a measure if you have a table like
price Measure = SWITCH ( ISFILTERED ( price[currency] ) && HASONEVALUE ( price[currency] ), LASTNONBLANK ( price[currency], "" ) = "Euro", FORMAT ( MAX ( price[price] ), "€##.00" ), LASTNONBLANK ( price[currency], "" ) = "US$", FORMAT ( MAX ( price[price] ), "$##.00" ), FORMAT ( MAX ( price[price] ), "$##.00" ) //if the slicer doesn't pick up any currency, use US$ by default )
Thanks for taking your time to show me the solution and the screen shots.
Hi @Chapin4u
You can use the FORMAT function to create formatting to suit
eg,.
Currency US = FORMAT(100,"$##.00")
or
Currency EU = FORMAT(100,"€##.00")
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |