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.
Weird issue, but i a sure simple solution. Note: I am a QLik guy, learning DAX
Creating New Measure in report view:
Example Goal: Trying to create if statement based on field value:
However after my "TESTMEASURE= if("
i cannot reference a table or field, just measures or other DAX commands. So i cant state my condition.
I want to if fieldA ="Fixed" then X else Y but I can call field A
Thanks,
Bill
A measure is an aggregation, you should either use MIN, MAX, SUM etc to refer to that column.
Max(fieldA) will work.
If you want to calculate the value for each row in the table, then you should create "New column"
If it helps, mark it as a solution
Kudos are nice too
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |