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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
stella1215
Frequent Visitor

Display Line Chart Data in Card Visual When Clicking on Any Point

Hello everyone!

 

I want to display line chart data in card visual when clicking on any point like the first picture below: demo.png

 

So far I achieve something like the picture below, but when I click on any point, it only shows one value at a time while others are blank. Cuz it's not filtering that date, and I can only click on certain line.

 

demo2.png

 

This is my measure for CPU1: 

 

 

CPU1 = CALCULATE(SUM(CPU[avg_CounterValue]),FILTER(ALLSELECTED(CPU),CPU[Computer] = "nPEGOLDVM1"))

 

 

 

What can I do to achieve the result I want? Any idea or thoughts will be much appreciated!! Thank you!!

1 ACCEPTED SOLUTION
v-angzheng-msft
Community Support
Community Support

 Hi, @stella1215 

 

I'm sorry I misunderstood you before, after seeing your sample data I re-read your question, in fact the measure you used is perfectly fine.

Your problem is that you only clicked on one of the points, you know in your example, the clicked point filters the computer ID and time 2 filters, not just the time, because of this the other two cards will show blank.

It's easy to make them show, just hold “Ctrl” at the same time and keep clicking on the other points needed, you can even choose a different time.

v-angzheng-msft_0-1620810713308.jpeg

v-angzheng-msft_1-1620810713313.jpeg

 

 

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-angzheng-msft
Community Support
Community Support

 Hi, @stella1215 

 

I'm sorry I misunderstood you before, after seeing your sample data I re-read your question, in fact the measure you used is perfectly fine.

Your problem is that you only clicked on one of the points, you know in your example, the clicked point filters the computer ID and time 2 filters, not just the time, because of this the other two cards will show blank.

It's easy to make them show, just hold “Ctrl” at the same time and keep clicking on the other points needed, you can even choose a different time.

v-angzheng-msft_0-1620810713308.jpeg

v-angzheng-msft_1-1620810713313.jpeg

 

 

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-angzheng-msft
Community Support
Community Support

Hi, @stella1215 


Could you please consdier sharing a simple sample file without any sesentive information for further discussion? Then I can try to look into it to come up with a more accurate measure.

 

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

example  here's my example in zip containing an example pbix and the data I used. Thank you for your willingness to help! Much appreciated! Let me know if the link works cuz it's my first time doing it in this way. 

amitchandak
Super User
Super User

@stella1215 , Have you switch off the interaction between the virtual machine and card. Same why it shouldn't interact with Date.

 

This seems fine, same should be done with other two

CPU1 = CALCULATE(SUM(CPU[avg_CounterValue]),FILTER(ALLSELECTED(CPU),CPU[Computer] = "nPEGOLDVM1"))

 

https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I didn't switch them off but even if I did after reading your reply, I still cannot achieve the result I wanted for some reason. CPU2 and CPU3 already implemented the same measure but different CPU[Computer]. Every time I click one line, the other two always show blank. Is there a way to select that one axis value only and three cards will show result at that point?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.