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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
kdrees21
Helper I
Helper I

Multiple Date Tables

I have data where we track expense by project. What I am trying to accomplish is having the project date in the rows and show the dates of expense in the columns. 

 

Any thoughts on how to do this? 

 

I am trying to use 2 date tables but I can't get the data to line up.

 

Any Help is appreciated.

 

Example:

Project A is completed in 2020 but had expense related to the project from 2019-2021. 

Project B is estimated to be completed in 2021 but has had expense in 2020. 

 

I would like to show something like this in Power BI: 

kdrees21_0-1613440840939.png

 

1 ACCEPTED SOLUTION

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

How is your source data arranged?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

kdrees21_0-1613498506548.png

 

This is how my model looks and relationships currently flow. 

 

Is this what you're asking for?

 

This link will take you to the example .pbix file: https://drive.google.com/drive/folders/19q2p_u58I79rDsdR59-P7AvF4Pysb03c?usp=sharing

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.