Forum Discussion
td48260
4 years agoRegular Visitor
Filter by column in underlying data
I have a table called Apps with 3 columns: ID (Prmary Key) Year Type I would like to create a column chart that groups by year, displays a count, and has filters for Type and Year. The SQL que...
- 4 years ago
td48260 not sure what you mean using type on the slicer will throw the count off
just use type and year as a slicer and a simple measure
Count = COUNTROWS ( Table )or maybe I didn't understand your question, explain it with sample data if that is the case.
✨ Follow us on LinkedIn and to our YouTube channel
Check my latest video on Filters and Sparklines https://youtu.be/wmwcX8HvNxc
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.
mh2587
4 years agoSuper User
= calculate(count([value]),table[year]== selectedvalue(table[year]) && table[Type] == selectedvalue(table[type]))