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.
Hello!
Hope you're doing well. As the images below, I want to return the same value if the column "TipoMultiplicacao" is "EXTERNA" as an alternate result.
In a nutshell is: If "TipoMultiplicacao" is "INTERNA", divide; if "EXTERNA", don't divide and return the same value"
DAX I'm using:
What I want (in red)
Thanks so much!
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
CustoAula CC =
IF (
ReferencialTreinamentos[TipoMultiplicacao] = "Interna",
DIVIDE (
ReferencialTreinamentos[Custo],
ReferencialTreinamentos[NumeroInteriroHoras]
),
ReferencialTreinamentos[Custo]
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
CustoAula CC =
IF (
ReferencialTreinamentos[TipoMultiplicacao] = "Interna",
DIVIDE (
ReferencialTreinamentos[Custo],
ReferencialTreinamentos[NumeroInteriroHoras]
),
ReferencialTreinamentos[Custo]
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
It worked perfectly!
Thank you so munch, Jihwan!
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 |
---|---|
52 | |
27 | |
24 | |
13 | |
9 |
User | Count |
---|---|
74 | |
58 | |
47 | |
16 | |
12 |