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.
Morning,
I'm trying to recreate a calulation from excel into Power bi but with no luck so far:
On a calulated column I want to count how many times a number occurs? Any help would be great.
Solved! Go to Solution.
Hi @DazzaRCIB
Please try giving the below code
Hi @Chakravarthy ,thanks for the quick reply, I'll add further.
Hi @DazzaRCIB ,
The Table data is shown below:
Use the following DAX expression to create a measure
Count = COUNTROWS('Table')
Hi @Chakravarthy ,thanks for the quick reply, I'll add further.
Hi @DazzaRCIB ,
The Table data is shown below:
Use the following DAX expression to create a measure
Count = COUNTROWS('Table')
Hi @DazzaRCIB
Please try giving the below code
This would work as a column but I need it as a measure?
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
39 | |
31 | |
26 |
User | Count |
---|---|
97 | |
87 | |
43 | |
40 | |
35 |