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

Table Relationships for Actual vs Budget analysis

I am preparing a dashboard for Budget vs. Actual sales analysis. I have different lookup tables, one data table and three budget tables. I am facing difficulty in creating right type of relationships that will join all these tables to help me in creating KPI and other visuals. I cant combine them in one data table rather I have to keep all these table separately.  Please help https://www.dropbox.com/sh/3bbrcpezh5d8h9u/AACDR0gNFc6pAtcvcpOctYaTa?dl=0

1 ACCEPTED SOLUTION

Hi @Anonymous 

 

Could you tell me if your problem has been solved? If it is, kindly mark the helpful answer as a solution. if not, please share more details about your question, we'd like to provide further support. thanks!

 

Community Support Team _ Dina Ye
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

6 REPLIES 6
mussaenda
Super User
Super User

Hi @Anonymous ,

 

Thank you for providing a dummy data.

2019_08_27_15_52_22_Untitled_Power_BI_Desktop.png

 

Here you can see how they are related.

 

2019_08_27_15_36_38_Actual_vs_Target_sample_tables_Protected_View_Excel.png

 

I added one more table (product lookup table)

Is this okay with you?

 

Others will have more efficient answer. 

Anonymous
Not applicable

Thanks for your support and taking the time to solve this query. I am trying to replicate it but please tell me what new columns you have created in Target, Calendar and Revenue tables.

Hi @Anonymous ,

 

link of pbix is here

 

You can see the new columns created

Anonymous
Not applicable

I applied the solution but now facing another error. I have some time intelligence functions in my dashboard which I am using to create bar charts showing current and same period last year results. here is the error message.

 

"Function SAMEPERIODLASTYEAR expects a contiguous selection when the date column comes from a table on the 1-side of a bi-directional relationship."

 

Please help me to resolve. I dont want to change the cross filter diection.

https://www.dropbox.com/s/2iotg0ckh1nb2c9/Error.PNG?dl=0

Hi @Anonymous 

 

Could you tell me if your problem has been solved? If it is, kindly mark the helpful answer as a solution. if not, please share more details about your question, we'd like to provide further support. thanks!

 

Community Support Team _ Dina Ye
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.