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 September 15. Request your voucher.
I have a table that has a column ("Item" in the example below) that I want to produce the "Frequency" column for. Is there a way to create a column in DAX that would provide me with the numbers on the right? If not, would I need to use a measure?
I think duplicating the query and getting a count from the new table would work, but Im wondering if there is a way to do this without needing to do this.
Solved! Go to Solution.
You could use a calculated column or a measure.
For the calculated column:
Do a SUMMARIZE over that column with COUNTROWS.
Also check out this new-ish function:
EVALUATE COLUMNSTATISTICS()
You could use a calculated column or a measure.
For the calculated column:
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |