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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
EasyNet
Frequent Visitor

Relationships in Direct Query Mode

best regards, I would be very grateful if someone could help me with this case, I have the tables to relate, a representation of sales by the seller and the other budgets, the table of budgets has the figures divided by the type of product. When I am going to establish the relationship does not allow it to me because one of the tables does not have unique values, this is correct since each data is different in both sales and presupases. How can I establish this relationship considering that I am working in DirectQuery mode and not in Import mode? Thank you so much.

1 REPLY 1
v-sihou-msft
Microsoft Employee
Microsoft Employee

@EasyNet

 

In your scenario, it seems you have Sales and Budgets tables which are fact tables. You should have other dimension tables like DimSeller, DimProduct, etc, and build the relationships to those fact tables based on the key column with unique values in dimension tables. It can became a snowflake/star schema. You can refer to AdventureWorksDW sample database.

 

Regards,

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.