March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
In my report, there are two table visuals.
1. Primary_table = Show the incident's key details (such as Incident number and total processing time)
1. Secondary_table = based on row selection on primary_table, the secondary table is used to show the selected incident's breakdown details of primary table (such as incident number, priority, name of support teams (who picked up this incidents earlier), processing time of each support team)
When user clicks on a row in primary table, the secondary table will show the breakdown details of primary table.
Primary_table
Number Total Processing time
INC001 2 hours
INC002 3 hours
If I click on first row with Incident number = INC001, the secondary_table to show the breakdown as follows.
Secondary_table
Number Priority SUPPORT TEAM PROCESSING TIME
INC001 Low TEAM_1 1.5 hours
INC001 Low TEAM_2 0.5 hours
My question:
I want the secondary table to always become blank if no user selection. I will add a card to alert the user to make selection in primary table. How to make the secondary_table shows blank in case user does not select any row in primary_table?
Unfortunately, The three functions always return "true" or value "1" even though I did not make any selection on primary_table.
Such as clicking on the empty space on the primary_table, the below three functions still returns "true" or value 1.
ISFILTERED
HASONEVALUE
SELECTEDVALUE
Please help
Solved! Go to Solution.
Hi @Kames_Chia ,
I create two tables as you mentioned.
Then I create a measure and use it in a card visual.
Measure =
IF (
COUNTROWS ( ALLSELECTED ( Primary_table ) )
= COUNTROWS ( ALL ( Primary_table ) ),
BLANK (),
1
)
When I click on the slicer, it will get what you want.
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Kames_Chia ,
I create two tables as you mentioned.
Then I create a measure and use it in a card visual.
Measure =
IF (
COUNTROWS ( ALLSELECTED ( Primary_table ) )
= COUNTROWS ( ALL ( Primary_table ) ),
BLANK (),
1
)
When I click on the slicer, it will get what you want.
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
15 | |
12 | |
9 | |
8 |
User | Count |
---|---|
41 | |
32 | |
29 | |
12 | |
12 |