Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have two slicers : Year and Period. Year is a single selector slicer and Period is multiselector. A Text needs to be displayed in a card based on the slicer selection.
If an year is selected and all the period of that year are selcted then display "Selected Year is '2022' " ELSE
if any period is selected for eg 1, 3,5 then display "Selected Range is for "Year" and Period 1,3,5"
pbix file: https://drive.google.com/file/d/1owzvBBV1ALzdNukg5pgjUaPApTgYDPaD/view?usp=sharing
Solved! Go to Solution.
I have tweaked the below measure, if anybody is looking for the similar requirement then this measure can be used:
I have tweaked the below measure, if anybody is looking for the similar requirement then this measure can be used:
pls try this
Card_Value =
IF( ISFILTERED('Date'[Year])&&ISFILTERED('Date'[Period]),
"Selected Year is : " & FORMAT(SELECTEDVALUE('Date'[Year]), "0") &" And "&"Selected Range is for Period: " & MIN('Date'[Period]) & " - " & MAX('Date'[Period]),
"Selected Year is : " & FORMAT(SELECTEDVALUE('Date'[Year]), "0")
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 119 | |
| 100 | |
| 72 | |
| 69 | |
| 65 |