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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Craig3TCE
Frequent Visitor

Line chart with years stacked

Good morning all,

 

I'm trying to create the following -

Craig3TCE_0-1625736494286.png

This was created in Excel.

 

I have 2 columns from Direct query, date and balance.

 

I'm able to achieve the following -

Craig3TCE_1-1625736566322.png

I got to this by adding the Date Hierarchy from a date table into the axis, Year into the legend and balance into values and then drilling down to day level.

When I remove Year from the axis, I get the following -

Craig3TCE_0-1625738357106.png

Is there a way to achieve the original Excel line chart in Power BI?

 

Many thanks, Craig

4 REPLIES 4
v-kelly-msft
Community Support
Community Support

Hi  @Craig3TCE ,

 

Is your issue solved now?If not,could you pls check my last reply?

 

Best Regards,
Kelly

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

 

Hi Kelly, apologies it's not my dataset, it's from a colleague. I'm waiting for a stripped back version to come through without any confidential data.

 

We're using Direct Query - if I upload the PBIX, it will have to be an imprted dataset - will this affect the report? From my experience, dates can act very differently on an imported dataset vs. Direct Query.

Hi  @Craig3TCE ,

 

Apologies for the late reply.

Yes,it would be different,I dont have the access your dq mode dataset,pls share me an imported one.

 

 

Best Regards,
Kelly

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

 

v-kelly-msft
Community Support
Community Support

Hi @Craig3TCE ,

 

Could you pls provide your .pbix file for test?Remember to remove the confidential information.

 

Best Regards,
Kelly

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

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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