Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
10 | |
10 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |