Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello!
I have 3 tables:
1st Table has only unique values of the regions.
2nd Table has columns: Values, Date, Region
3rd Table has only unique values of the date.
Now I have a slicer with Region data from the 1st table as it is:
Next to this slicer, I have a slicer with the date from the 3rd table.
Below I have a matrix table with values.
Now I want to do that if the slicer of the region is selected the table shows appropriate information that belongs to the selected region, but when the slicer is empty the table below must show data that belong to the Region == 'Republic' of the table 2nd.
How can I do that?
Solved! Go to Solution.
Hi, @Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Regions:
Table2:
Calendar(a calculated table):
Calendar = CALENDARAUTO()
Rg(a calculated table):
Rg = DISTINCT('Table2'[Region])
Relationship:
You may create a measure as below.
Visual Control =
IF(
ISFILTERED(Rg[Region]),
IF(
SELECTEDVALUE('Table2'[Region]) in DISTINCT(Rg[Region]),
1,0
),
IF(
SELECTEDVALUE('Table2'[Region])="Republic",
1,0
)
)
Then you need to put the measure in the visual level filter and use 'Region' column from 'Rg' table to filter the result.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Regions:
Table2:
Calendar(a calculated table):
Calendar = CALENDARAUTO()
Rg(a calculated table):
Rg = DISTINCT('Table2'[Region])
Relationship:
You may create a measure as below.
Visual Control =
IF(
ISFILTERED(Rg[Region]),
IF(
SELECTEDVALUE('Table2'[Region]) in DISTINCT(Rg[Region]),
1,0
),
IF(
SELECTEDVALUE('Table2'[Region])="Republic",
1,0
)
)
Then you need to put the measure in the visual level filter and use 'Region' column from 'Rg' table to filter the result.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , are these three tables joined?
Try like
if(isfiltered(region[region]), [measure], calculate([measure], filter(Region ,region[region] = "Republic")))
@amitchandak What do you mean by "joined"? The tables have relation one (Table 1 and 3)to many (Table 3).
What do you mean by " [measure]"?
@Anonymous , measure is any measure or calculation you want to have there
examples
if(isfiltered(region[region]), countrows(Table2), calculate( countrows(Table2), filter(Region ,region[region] = "Republic")))
@amitchandak I implemented your formula, but I am getting an only a number of selections.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |