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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
rog_bjo
Regular Visitor

Monthly values on the same row into column chart

Excuse me for my limited knowledge.

 

I have a large dataset built as follows (simplified):

 

Capture1.JPG

 

and I have been able to transfer this into a new presentation that looks like this by adding custom columns for each month;

 

Capture2.JPG 

by using the folowing formula:

= Table.AddColumn(#"Added Custom", "Jan", each if [Start] < #date(2019,1,5) and [End] > #date(2019,1,25) then [Resources] else null)

This works as I hoped it will, and even looks pretty when I add "conditional formatting"to the result.

 

 But I was also hoping to present this in a column chart like this:

Capture3.JPG

 

I am able to do this in Power BI, but I dont have any customisation possibilities for the chart in the built-in visuals.

Capture4.JPG

 

 

I have tried linking it to a date-range table (to use monthly as the axis), but as I understand this table can only be linked to start or end date, since the other columns only contains numbers.

 

Any suggestions what I sholud try next?

1 ACCEPTED SOLUTION
v-danhe-msft
Employee
Employee

Hi @rog_bjo,

Based on my test, you could refer to below steps:

Unpivot all your month columns in query editor:

1.PNG

Import custom visual from market place and choose the Infographic designer:

1.PNG

Set below format:

1.PNG

You could also download the pbix file to have a view.

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-danhe-msft
Employee
Employee

Hi @rog_bjo,

Based on my test, you could refer to below steps:

Unpivot all your month columns in query editor:

1.PNG

Import custom visual from market place and choose the Infographic designer:

1.PNG

Set below format:

1.PNG

You could also download the pbix file to have a view.

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

Thank you! Unpivoting the months columns was the solution I was looking for. I have tested on the complete dataset and it is working.

 

 

rog_bjo

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.