Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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]
)
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]
)
It worked perfectly!
Thank you so munch, Jihwan!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
12 | |
10 | |
10 | |
6 |