Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
yaronklein
Helper II
Helper II

Provide data to a visual based on a click on another visual, but give it a broader context (filter o

Dear community,
I have a problem that it seems to be quite easy to solve, but I cannot find a good solution for it.

Let’s assume that I have the following table to hold test results of two tests AAA and BBB that runs every day (Test Run and Date):

Test Run

Test Name

Date

Result

1

AAA

1/1/2022

Pass

1

BBB

1/1/2002

Fail

2

AAA

2/1/2022

Pass

2

BBB

2/1/2002

Pass

3

AAA

3/1/2022

Fail

3

BBB

3/1/2002

Fail

(Obviously the test list host thousands of tests and it runs for many days)

I have a table visual that shows the results of the last run:

Test Name

Result

AAA

Pass

BBB

Fail

 

When the user will press a test, I would like to show a table that will show all the results of the same test per day.

So, in my example if the user pressed the BBB line I will get the following table:

Test Name

Date

Result

BBB

1/1/2002

Fail

BBB

2/1/2002

Pass

BBB

3/1/2002

Fail

 

My problem is that when the user presses BBB I get only the result of the same day and there is no way that I am aware of that allow me to ignore filters in the visual.
Thanks in advanced for the help.

1 ACCEPTED SOLUTION
hnguy71
Memorable Member
Memorable Member

hey @yaronklein ,

 

Take your base measure that you used to get your first visual, and build a measure on top if it and you can use the ALLSELECTED function.

2022-11-05_17h22_09.gif

 EDIT: You may need to add your column in the ALLSELECTED, such as:

 

AllSelected = CALCULATE([BaseResult], ALLSELECTED(YOUR_TABLE[Result]))

 

 



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

5 REPLIES 5
yaronklein
Helper II
Helper II

Hi @hnguy71 ,
Sorry that it took me some time.
I am ot sure what exactly you mean. it seems that you crated the solution in a smaple pbix. Will you be able to share it?
Thanks.

Hi @hnguy71,
By any chance, will you be able to provide a sample.
Thanks.

Hi @yaronklein

Sorry I haven't been active on the forums due to holiday break.

 

If you still need a sample, I've attached it here.



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
v-binbinyu-msft
Community Support
Community Support

Hi @yaronklein ,

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please feel free to let me know.

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_ Binbin Yu

hnguy71
Memorable Member
Memorable Member

hey @yaronklein ,

 

Take your base measure that you used to get your first visual, and build a measure on top if it and you can use the ALLSELECTED function.

2022-11-05_17h22_09.gif

 EDIT: You may need to add your column in the ALLSELECTED, such as:

 

AllSelected = CALCULATE([BaseResult], ALLSELECTED(YOUR_TABLE[Result]))

 

 



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.