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.
I am learning DAX, Observed something weird,help me to understand -
I defined the measure as -
fIRSTYEAR MEASURE =
CALCULATE (
MIN ( 'Noble Prizes'[nobelPrizes.awardYear] ),
ALL ( 'Noble Prizes'[nobelPrizes.category.en] )
)
so when I make the table with the defined measure and Categories results to -
which I understand completely.
but when I try to use the same measure in SUMMARIZECOLUMNS as -
Table 2 =
SUMMARIZECOLUMNS (
'Noble Prizes'[nobelPrizes.category.en],
'Noble Prizes'[nobelPrizes.categoryFullName.en],
"first year", [fIRSTYEAR MEASURE]
)
I get the following result when I make a table with first year -
How do we justify the Economics Sciences First year, it's 1969 and 1901?
Am I missing something?
Solved! Go to Solution.
you forgot the CALCULATE around the measure.
I recommend you install and use DAXDebugOutput. Read about EVALUATEANDLOG, it is a fantastic tool to understand what DAX is doing on each step.
you forgot the CALCULATE around the measure.
I recommend you install and use DAXDebugOutput. Read about EVALUATEANDLOG, it is a fantastic tool to understand what DAX is doing on each step.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
10 | |
6 |