Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello Guys,
I Want to count the results of my measure, but i don't now how., i need to know how much products i have in each classification.
The measure basically classifies the results of differences between two dates.
Solved! Go to Solution.
@renatoremondi So, in general you would do something along the lines of this:
Zero to Seven =
VAR __Table = ADDCOLUMNS(SELECTCOLUMNS('Table',"__ProductID",[ProductID]),"__Class",[test])
RETURN
COUNTROWS(FILTER(__Table,[__Class] = "00-07"))
Hard to be more specific without sample data.
@renatoremondi So, in general you would do something along the lines of this:
Zero to Seven =
VAR __Table = ADDCOLUMNS(SELECTCOLUMNS('Table',"__ProductID",[ProductID]),"__Class",[test])
RETURN
COUNTROWS(FILTER(__Table,[__Class] = "00-07"))
Hard to be more specific without sample data.
It worked well, thank you very much. 😎
This is a preview of my data.
I will try what you say
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 19 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 20 | |
| 12 | |
| 10 |