Forum Discussion
Counting words from list to make Bar Graph.
- 5 years ago
Hi Dexrend
Split column by ',':
Unpivot columns as:
Create List table:
List = VALUES('Table'[Value])Create measure as:
Measure = CALCULATE( COUNT('Table'[Value]), FILTER( 'Table','Table'[Value]=MAX(List[Value]) ) )Here is the outptu:
The demo is attached, please try it.
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
- 5 years ago
Thanks! That is exalty what i needed.
Hi Dexrend
Split column by ',':
Unpivot columns as:
Create List table:
List =
VALUES('Table'[Value])
Create measure as:
Measure =
CALCULATE(
COUNT('Table'[Value]),
FILTER(
'Table','Table'[Value]=MAX(List[Value])
)
)
Here is the outptu:
The demo is attached, please try it.
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!