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.
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
User | Count |
---|---|
23 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |