The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
My table contain the Year, Halfyear, Quarter, Month as seperate columns. I want to obtain a count DAX wherein if selected value is any quarter then count should be 3, any halfyear then 6, any month then 1 and 12 for the year. Also, if im changing the selection where in if i selected H1 and i untick one of the month below it then it should be count of remaining months ex 5 if one of the month is unselected. Below is the sample of the filter i will be using.
Solved! Go to Solution.
Hi @nareshr89
you can use SWITCH over TRUE for ISINSCOPE
tou need to start from the smallest to the largest period.
Hi @nareshr89
you can use SWITCH over TRUE for ISINSCOPE
tou need to start from the smallest to the largest period.
User | Count |
---|---|
15 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
25 | |
13 | |
13 | |
8 | |
8 |