Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Buenas,
Tengo unas columnas que tienen diferentes formatos.
Necesito que salgan en €, en porcentaje y en número entero.
Necesito que me aparezcan así en PBI.
Muchas gracias por anticipado.
Solved! Go to Solution.
Thank you very much for the method @lbendlin , I tried to create the data myself and implement it.
Hi @javiermm
Based on your needs, I have created the following table.
Then you can use the following DAX to get the result you want:
MEASURE =
IF (
SELECTEDVALUE ( 'Table'[Column1] ) = "Storage per liter",
FORMAT ( SELECTEDVALUE ( 'Table'[Column2] ), """€"" #,0.00" ),
IF (
SELECTEDVALUE ( 'Table'[Column1] ) = "Euros consumption",
FORMAT (
SELECTEDVALUE ( 'Table'[Column2] ),
"General Number"),
FORMAT ( SELECTEDVALUE ( 'Table'[Column2] ), "Percent" )
)
)
Result:
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you very much for the method @lbendlin , I tried to create the data myself and implement it.
Hi @javiermm
Based on your needs, I have created the following table.
Then you can use the following DAX to get the result you want:
MEASURE =
IF (
SELECTEDVALUE ( 'Table'[Column1] ) = "Storage per liter",
FORMAT ( SELECTEDVALUE ( 'Table'[Column2] ), """€"" #,0.00" ),
IF (
SELECTEDVALUE ( 'Table'[Column1] ) = "Euros consumption",
FORMAT (
SELECTEDVALUE ( 'Table'[Column2] ),
"General Number"),
FORMAT ( SELECTEDVALUE ( 'Table'[Column2] ), "Percent" )
)
)
Result:
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Muchas gracias.
You would normally use FORMAT for that. Have you tried that?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
14 | |
11 | |
8 |
User | Count |
---|---|
25 | |
21 | |
12 | |
11 | |
10 |