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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Microsoft Employee
Microsoft 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
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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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