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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
dvotf
Frequent Visitor

Help using column data for comparison charting

Hi all,

 

I'm trying to get my head around how to structure my data in order to visualize it properly. I've two columns in my dataset that I want to compare: Recommended, Final Decision. Each entry in the columns is one of three types: Buy, Sell, Defer. I'm looking to create a chart to compare the Recommended Vs. Final Decision for these entries. I can make three separate pie charts to show the breakdown of this for each individual entry type, but this isn't ideal. It's fine for a quick overview, but falls apart (in terms of being confusing to interpret) when you start looking at specific subsets (user breakdown).

 

I'm looking to plot the data in a Clustered Bar Chart, where I can have {"Buy", "Sell", "Defer"} on the Y-Axis and the Count of entries for each in terms of Recommended and Final Decision on the X-Axis. I've been trying it myself, but for some reason the Count shows the same value for Recommended and Final Decision (e.g. there's 32 Recommended "Buy" entries and 23 Final Decision "Buy" entries but both bar chart entries show 32).

 

Can anybody point me in the right direction? I'm sure I'm just missing something simple.

1 ACCEPTED SOLUTION
dvotf
Frequent Visitor

Got it working with the addition of 2 measures:

Followed Recommendation = COUNTROWS(filter('Table',[Final Decision]=[Recommended]))

Didn't Follow Recommendation = COUNTROWS(filter('Table',[Final Decision]<>[Recommended]))

Was then able to plot these on Stacked and Clustered Bar Charts and they were grouped as expected (with Recommended used for axis).

View solution in original post

2 REPLIES 2
dvotf
Frequent Visitor

Got it working with the addition of 2 measures:

Followed Recommendation = COUNTROWS(filter('Table',[Final Decision]=[Recommended]))

Didn't Follow Recommendation = COUNTROWS(filter('Table',[Final Decision]<>[Recommended]))

Was then able to plot these on Stacked and Clustered Bar Charts and they were grouped as expected (with Recommended used for axis).

@dvotf

 

It seems that you have resolved it by yourself. If it is working now, you can mark your reply as solution to close this thread. 🙂

 

Best Regards,

Herbert

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors