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
Anonymous
Not applicable

Trending data from multiple multi-dimension tables

I'm definitely new to power BI and was hoping for some direction on how best to trend financial statement data summarized by location over-time.  For example, my data set is something like this:

 

CaptionLocation 1Location 2Location 3
Revenue951932234
Cost of Sales900759200
SG&A25925085

 

I have similar data for multiple periods.  I'm trying to create visualizations for the data so I can see revenue trending for location 1 (or any other combination of locations) over multiple periods.  I've done this previously by making the multi-dimension tables into a single list, like this:

CaptionLocationAmountDate
RevenueLocation 195112/31/2019
Revenue

Location 2

93212/31/2019
RevenueLocation 323412/31/2019

 

I'm then able to summarize my multiple data sets how I want.  However, my current data set has approximately 150 locations and 40 captions, so the process that I've historically done is manual and cumbersome.  So my question:

 

1. Is there a more efficient approach to using multi-dimension table (similar to the first above) without having to convert it to a list?

2. If not, is there a more efficient way to convert the data from the format in table 1 to the format in table 2?

 

I imagine this has been asked before, but I suspect I'm using the wrong words or descriptions when trying to search for the answers, so any direction would be appreciated.

 

 

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

Unpivot the Location columns and then use Location in the legend?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

Unpivot the Location columns and then use Location in the legend?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Well I'll be damned!  I figured there was some straightforward solution and that does it.

 

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.