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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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 Employee
Microsoft 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
Microsoft Employee
Microsoft 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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors