Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Country field has 1 indicator field X.
X has Boolean values-true or false
Country. X
C1. True
C2. False
C3. True
If country slicer(C2) selected indicator is false it should show 0 in card not blank. Suppose none of the country slicer is selected it should show value as 2.(because C1 & c3 has true)
Want to show in card visual.
How to achieve in DAX?please help
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
expected measure: =
SUMX ( Country, Country[X] * 1 )
Hi,
Please check the below picture and the attached pbix file.
expected measure: =
SUMX ( Country, Country[X] * 1 )
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |