cancel
Showing results for 
Search instead for 
Did you mean: 
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
Microsoft
Microsoft

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
Microsoft
Microsoft

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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.