Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi Experts,
I want to showcase the table visual data based on the pie chart slice selection.
I have a table already with below data with different columns (cost,scope,schedule etc..) , taking "scope" column as a example here.
Sample Source :
xxxbb1 | xxxbb1 | yyy661 | yyy661 |
RPA | GenAI | RPA | GenAI |
Yes | Yes | Yes | Yes |
No | Yes | No | Yes |
Yes | Yes | Yes | No |
No | Yes | Yes | No |
AMBER | Green | Green | Red |
In the below table we have used the DAX which is combined the colors and showing higher risk color in the table (eg : for xxxbb1 , we have 2 rows in the source data , Amber & Green results - based on the offer type RPA & GENAI, so in that case Amber is the higher risk than Green , so table shows Amber color icon for xxxbb1)
DAX used :
Scope dynamic (scope) is the DAX applied in the table data , based on the Offer type selection (RPA or GENAI) , the color will change. likewise based on the pie chart slice selection the color should change as per the logic .
When we select Amber in the pie chart , xxxbb1 account is showing , but the same account should show when we click Green in the pie chart as well , but it is not . this is the expectation here .. because we have Green rows also there in the both accounts xxxbb1 & yyy661 .
Hope it is understandable , please help to achieve this ..
Thanks
DK
Hi @dinesharivalaga ,
I can't reproduce your data, can you provide a simplified version of the PBIX file?
We can better understand the problem and help you.
How to provide sample data in the Power BI Forum - Microsoft Fabric Community
Please remove any sensitive data in advance. If uploading pbix files please do not log into your account.
Best Regards,
Dengliang Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @dinesharivalaga ,
I did not encounter your problem in my testing.
Both account names are displayed when green is selected for the pie chart.
The data table is shown below.
Please see the attached pbix for reference.
Best Regards,
Dengliang Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-denglli-msft any lead pls ?
I am using scope logic as a calculated column created based on some logics , but your side you have just created a new column with name of the colors ..
When i am using the same logic as of you ..
I am getting this result because of the table having unpivot column applied.
If i choose count(distinct) :
@v-denglli-msft thanks for your solution 🙂
I noticed that you have used "scope logic" as a values in pie chart instead of "scope combined" , so that the table is not reflecting the both account (different color icons) , but is there any chance to change the color icons in the table visual based on the pie chart selection ? because both accounts are visible when we click "Green" but from the stalkholders/clients side they cannot identify it directly ..
thanks for understanding 🙂
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
26 | |
20 | |
19 | |
14 | |
13 |
User | Count |
---|---|
43 | |
36 | |
24 | |
24 | |
22 |