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 Experts,
I am new to DAX queries. I am trying to calculate following fields, but unable to do so.
Column A | Column B | Column C | Column D |
85 | 39 | 30 | 21 |
my goal is to calculate like this,
ColumnA + Column B + Columm C / Column D
Would be great help if you could help me with this
regards
Solved! Go to Solution.
Hello Ankit,
Thanks for your response. I was able to derive accrurate figure based on the script mentioned below. Not sure why.
Instead, i wrote below one and got the correct answer
divide(Table[Column1] + Table[Column2] + Table[Column3], Table[Column4])
regards
Hi @Anonymous
Please use this. I've shared the output below.
Hello Ankit,
Thanks for your response. I was able to derive accrurate figure based on the script mentioned below. Not sure why.
Instead, i wrote below one and got the correct answer
divide(Table[Column1] + Table[Column2] + Table[Column3], Table[Column4])
regards
Yeah both would work. There are lot of scenarios where multiple solutions are possible.
I'm glad that you were able to solved it.
Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
11 | |
9 | |
6 |