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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
nickninenine
New Member

Clustered bar chart from 2 columns that share values

Hello all,

 

This is probably rather simple, but I couldn't find the correct answer after much research.

I have two dates, one is the date an order is made, and another is the date the order is started. I have made a column for each that transforms these dates into day of week names (ie Monday, Tuesday...)

 

In excel, I could load these columns up into a cluster bar chart that looks like this:

nickninenine_0-1685088442238.png

 

When I try to do the same in Power BI, the columns always have the same number.

nickninenine_1-1685088497156.png

nickninenine_3-1685088518381.png

 

I have resorted to just making two separate charts for now, but it would be great to combine these into one.

 

nickninenine_4-1685088559428.png

 

Thank you!

1 ACCEPTED SOLUTION
pratyashasamal
Super User
Super User

Hi @nickninenine ,
This issue can we resolved using inactive relationship and an measure .
You would need to create inactive realtionship for the order start date and use "USERELATIONSHIP" function to create a relationship .
You can refer to this link to follow steps by step :-
https://hatfullofdata.blog/power-bi-using-inactive-relationships-in-a-measure/
Thanks,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
pratyashasamal
Super User
Super User

Hi @nickninenine ,
This issue can we resolved using inactive relationship and an measure .
You would need to create inactive realtionship for the order start date and use "USERELATIONSHIP" function to create a relationship .
You can refer to this link to follow steps by step :-
https://hatfullofdata.blog/power-bi-using-inactive-relationships-in-a-measure/
Thanks,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.