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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Dynamic Clustered Column Chart

Hello,

 

I want to display a custom column chart based on the below data, with Region on the X-axis and a count of each row per region for both purchasers and requesters. Also I have a date slicer that filters the left column by month, and I'd like to counts to update according to that slicer. Any ideas for this?

 

erutledge_0-1650915298248.png

 

6 REPLIES 6
Anonymous
Not applicable

Hi @Anonymous ,

Please refer to my pbix file to see if it helps you.

Create two measures.

PRUCHASE =
CALCULATE (
    COUNT ( 'Table'[Purchase region] ),
    FILTER (
        ALL ( 'Table' ),
        'Table'[Purchase region] = SELECTEDVALUE ( 'Table'[Purchase region] )
    )
)
REQUESTER =
CALCULATE (
    COUNT ( 'Table'[Requester region] ),
    FILTER (
        ALL ( 'Table' ),
        'Table'[Requester region] = SELECTEDVALUE ( 'Table'[Requester region] )
    )
)

vpollymsft_0-1651126032530.png

If I have misundstood your meaning, please provide your desired output and pbix file without privacy information.

How to Get Your Question Answered Quickly 

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

The chart you provided is not correct. For the same sample data in your pbix file the dark blue (Requester) line should only show 11 for CPN, yet it's showing 11 for all regions on your sample (the others should all be 0).

 Also I have a slicer on the page with the Submitted Date. Ideally I would like the clustered chart to update the count depending on the slicer. For example using the pbix file you provided if I were to change the slicer to only include dates for October 2021 the clustered chart should count a total of 3 for each measure, but it's still including the count for ALL dates.

Anonymous
Not applicable

Hi @Anonymous ,

If I have misundstood your meaning, please provide your desired output and pbix file without privacy information.

How to Get Your Question Answered Quickly 

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

This is what the output should be when the Date Slicer Includes all dates

erutledge_0-1651243793521.png

 

And below is what the output should be when the Date Slicer includes only Oct 2021

erutledge_2-1651244331435.png

The system will not allow me to upload a pbix file, but the one you used will work. You just need to add a slicer and put the 'submitted date' field in the slicer.

amitchandak
Super User
Super User

@Anonymous , you can create a date slicer and filter. You  create a date without the time and join it with date table and use a filter/slicer from there

 

Date= datevalues([submitted date])

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
Anonymous
Not applicable

I've got the date slicer, what's difficult for me is arranging the X-axis. It keeps on showing the same amounts for both measures. For example, this is what it currently looks like

erutledge_0-1650982219263.png

But I need it to look like this

erutledge_1-1650982254184.png

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.