Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Buenas,
Estoy trabajando con esta matriz la cual necesito que los formatos de los valores sean diferentes, hay alguna forma de que la primera línea que es (cantidad) los valores queden en numero decimal y la segunda que es (total en dólares) quede en formato de moneda, esto se puede lograr? Cabe resaltar que la matriz no hace referencia a ninguna medida, son valores que se tomaron directamente de un excel y no se han transformado en medidas.
Muchas gracias al que me pueda indicar como solucionar este incoveniente que no me deja avanzar.
Solved! Go to Solution.
Hi @danilren ,
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:
Create a measure
Measure = IF(
SELECTEDVALUE(
'Table'[Tesa Comex])="Cantidad",
FORMAT(
CALCULATE(
SUM('Table'[Column2])
),
"Fixed"
),
FORMAT(
CALCULATE(
SUM('Table'[Column2])
),
"Currency"
)
)
Final output
Best regards
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @danilren ,
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:
Create a measure
Measure = IF(
SELECTEDVALUE(
'Table'[Tesa Comex])="Cantidad",
FORMAT(
CALCULATE(
SUM('Table'[Column2])
),
"Fixed"
),
FORMAT(
CALCULATE(
SUM('Table'[Column2])
),
"Currency"
)
)
Final output
Best regards
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hola, @danilren
You will have to create an explicit measure, then create a dynamic format string for that measure.
See this article:
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-dynamic-format-strings
Regards
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
70 | |
36 | |
21 | |
18 | |
15 |
User | Count |
---|---|
126 | |
32 | |
28 | |
24 | |
24 |