Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello everyone!
I want to display line chart data in card visual when clicking on any point like the first picture below:
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.
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!!
Solved! Go to Solution.
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.
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.
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.
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.
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.
@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
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?
User | Count |
---|---|
139 | |
113 | |
103 | |
73 | |
63 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |