Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
Currently I have a table
Have a DAX "Total Value Count"
Total Value Count =
CALCULATE(COUNT([Value])
, ALL(Table[Data Month])
)
Have a Table chart that contains Data Month, Value, and Total Value Count
I have a case where I need to filter the Data Month to some months only, for example Jan and Feb, and need the Total Value Count to display "2" instead of "12".
Could you let me know the correct formula for my Total Value Count?
Any help will be greatly appreciated! Thank you.
Solved! Go to Solution.
@gggar
Change ALL to ALLSELECTED:
Total Value Count =
CALCULATE(
COUNT([Value])
,ALLSELECTED(Table[Data Month])
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@gggar
Change ALL to ALLSELECTED:
Total Value Count =
CALCULATE(
COUNT([Value])
,ALLSELECTED(Table[Data Month])
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
User | Count |
---|---|
139 | |
113 | |
103 | |
73 | |
63 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |