The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
why cant i write VALUES('calendar'[MonthName]) and drag this is a matrix and see the unqiue values of that column. Isnt this function supposed to return the unqiue values of a column within a table?
Solved! Go to Solution.
No. Values function cannot be used directly to return result. It's use is limited as intermediate function, nested within another function.
Ex:
=COUNTROWS(VALUES('calendar'[MonthName]))
If you stick the column into rows of Matrix. It will automatically aggregated/grouped by distinct.
Then you can add measures to summarize data based on it.
Though I'm not sure what end result you are after.
No. Values function cannot be used directly to return result. It's use is limited as intermediate function, nested within another function.
Ex:
=COUNTROWS(VALUES('calendar'[MonthName]))
If you stick the column into rows of Matrix. It will automatically aggregated/grouped by distinct.
Then you can add measures to summarize data based on it.
Though I'm not sure what end result you are after.
User | Count |
---|---|
80 | |
74 | |
41 | |
30 | |
28 |
User | Count |
---|---|
107 | |
96 | |
53 | |
47 | |
47 |