Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
sql programmer having 'fun' with dax :} Current post while trying to get a query to work, dax syntax
Now different question, why the exact same query works for one return and not the other?
pml var return focus
pml_id return focus
Hilarious, now expand the query and new focus works!?
==================================================================
Why no data returned when 'Measure Benefit Master'[PM IDId] = 3921 in the dataset shows 4 rows?
Try with direct literal.
dataset table mbm.PM IDId filtered for 3921
>> answer is lack of data integrity in the data, 'Measure Benefit Master'[DIR] = "CO" has different values, remove and working :}
==================================================================
Solved! Go to Solution.
Just catching up with your question here 🙂
One key point: DAX queries can only return tables, not scalar values.
So RETURN pml will result in an error in the above queries.
Contrast with measures that must return scalar values.
Just catching up with your question here 🙂
One key point: DAX queries can only return tables, not scalar values.
So RETURN pml will result in an error in the above queries.
Contrast with measures that must return scalar values.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |