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
aanderton
Regular Visitor

Actual vs Budget Donations by Source & Month

Hi Everyone

 

I am also relvatively new to Power BI Desktop and DAX.

 

Please see my screenshot below....

 

I am trying to create a Report which shows Actual vs Budget for the Source of our Donations (e.g., Local, Foreign, etc.) which I can also slice by month.

 

I have created a relationship by Month Received for Source Actuals and Source Budget, but I cannot create a relationship between them based on the Source.

 

Can anyone help?

 

Regards,

Allan

 

Power BI Query.jpg

 

 

1 ACCEPTED SOLUTION

Hi @aanderton,

 



I see that the relationships should be single, not both, and they should flow from the Index Tables (1) to the Budget & Actual Tables (Many).


 

Thanks for your sharing. Would you please kindly mark the corresponding reply as an answer so that others having similar problem can benefit from it? 

 

Thanks,
Yuliana Gu

 

Community Support Team _ Yuliana Gu
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

3 REPLIES 3
v-yulgu-msft
Employee
Employee

Hi @aanderton,

 

What did you mean 'cannot create a relationship between them based on the Source'? Since there is a [SOURCE] column in both budget and actual table and in source index table, why couldn't you create a one to many relationship based on this column like based on [Month Received].

 

Besides, please provide some simplified sample data in each table and illustrate your desired output so that I can test for you.

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Yuliana

 

Thanks for the reply.

 

I started simplifying the tables to show to you and I opened them in Power BI and it created the relationships for me, and it worked.

 

I see that the relationships should be single, not both, and they should flow from the Index Tables (1) to the Budget & Actual Tables (Many).

 

Thanks very much!

 

Kind regards,

Allan

 

Power BI Query2.jpg

Hi @aanderton,

 



I see that the relationships should be single, not both, and they should flow from the Index Tables (1) to the Budget & Actual Tables (Many).


 

Thanks for your sharing. Would you please kindly mark the corresponding reply as an answer so that others having similar problem can benefit from it? 

 

Thanks,
Yuliana Gu

 

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.