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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
utnapishtem
Helper I
Helper I

Can't stack two series column chart... need some help

Here's what I start with:

utnapishtem_0-1613098486990.png

 

I have a nice stacked column visual, and I've selected my first data set for the columns.  One of the columns is "Date".  It works great.  But now, I want to stack another series on top of it:

utnapishtem_1-1613098594080.png

 

But, that's not right... all I did was drag the column I wanted into the "Values" section.  But every year's value is the same.  Hmmm... is it somehow just showing the sum total for every time slice?  Even when I drill down, the number for the new series is the same.  It looks like it just stuck the entire sum of the column on top of the chart.  That's pretty lame... Maybe I need to drag the date column from this data set onto the chart?

utnapishtem_2-1613098749867.png

 

Nope, that doesn't do anything...

I can delete the first time series:

utnapishtem_3-1613098786775.png

 

And now the remaining data set acts correctly.  Okay, I'm now resorting to printing off the powerBI charts, cutting them out and taping the columns together.  Is there a better way?

3 REPLIES 3
utnapishtem
Helper I
Helper I

I figured it out.  I need to Append Queries to combine the two different tables.  From the combined table, PowerBI is able to plot the stacked column chart just fine.

amitchandak
Super User
Super User

@utnapishtem , there two measures are from the same table? if not are those tables using a common date table?

 

In this case, both measures should finally refer to a common date table

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hmm; I thought I replied, but looks like my reply got lost...
Anyway, I spent some time reading the articles you posted about creating a date calendar.  I don't see why that is necessary here.  I'm not trying to create different date slices or anything.  I'm just trying to plot two different time series as stacked columns.  Maybe I'm not understanding what PowerBI is doing with my data here.  How would it know the relation between the data I'm plotting and the date it is on?  I mean, it's not like the row numbers line up 1:1 with some arbitrary date.  You're telling me both 'measures' (they're columns) need to 'use' a common date table.  What does that even mean?  The data is coming from Excel.  Each column comes from a different table in Excel.  Each table has it's own date column.  Is that not possible to combine in PowerBI?  I created a repro project that illustrates my problem, but can't find any place to upload it here, so it's on my OneDrive shared here: https://1drv.ms/u/s!BA7jl24SA2VzhbF00Rer7BXH3eGyvg?e=E1lqln

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.