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 have a question related to how ALL works when I pass in the Table vs when I pass in the Column. I understand it removes any filter applied to table or column. I noticed that If I use it with COUNTX and pass the column (COUNTX(ALL(columnA)), columnA) it would count only the distinct values (why?), and when I pass the table (COUNTX(ALL(tableA)), columnA) it would count all values. Is this behavior by design?
I do not understand how this relates to removing the filters.
TIA
Solved! Go to Solution.
A column reference always does a group by aggregation.
Kind regards,
Steve.
Proud to be a Super User!
Awesome Keyboard Shortcusts in Power BI, thumbs up if you like the article
My Community Blog Articles (check them out!)
My Blog - Power M code to automatically detect column types -
How to create test data using DAX!
A column reference always does a group by aggregation.
Kind regards,
Steve.
Proud to be a Super User!
Awesome Keyboard Shortcusts in Power BI, thumbs up if you like the article
My Community Blog Articles (check them out!)
My Blog - Power M code to automatically detect column types -
How to create test data using DAX!
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |