Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi,
I have an issue with relationships set in my dataset.
I have 4 related tables Calendar, Sales Data, Brands, Forecast, with the below relationships:
1. Calendar => Forecast (Date=Date)
2. Calendar => Sales Data (Date=Date)
3. Brands => Forecast (Brand Name=Brand Name)
4. Brands <=> Sales Data (Brand Name1=Brand Name1)
I have a visualization that shows Sales data and Forecast by Date and Brand Name.
Now I'd like to add the filtering option for Sales Channel so when a Sales Channel is selected, both Forecast and Sales Data gets filtered. As a key field between Sales Data Table and Forecast I have Sales Channel.
Any suggestions on how to create that will be highly appreciated.
Hi, @Anonymous
You can create relationships for these tables like the following.
The result looks like this:
Here is the pbix.
Best Regards
Caiyun Zheng
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Unfortunately this scenario is not possible for me as the dashboard is pretty big and a lot of data/calculated colums/measures will be impacted if the model will be changed. I'm thinking about a DAX calculation maybe?
Anyway, thank you very much for your input.
Hi, @Anonymous
If so, you can consider doing calculation with TREATAS function which can create virtual relationship. And then use the result to create the visual.
Best Regards
Caiyun Zheng
Hey @Anonymous can you send a snippet of the structure of your tables ?
A print screen that shows the columns in each table its more than fine
@Anonymous Below you can see the structure of my actual model. I'd like to link Forecast Table to Channel Table. As a primary key I have channel name in both tables. Whenever the channel filter will be applied to my visual, I'd like to see the Forecast shown per channel.
I can create channel colum in Sales table also (if it will be required).
Any suggestion can help.
Thanks.
@Anonymous , if both tables have the sales channel, create a common table and use that to filter
refer
HI @amitchandak ,
Thanks for your response. the problem is taht the sales channel is a calculated column that is a result of another 2 tables. I have a common customer table where I've created a calculated column and identified the channel by customer. Now I have a "common" table that can relate as below with:
1. Customer Table => Sales Table (Cutomer ID=Customer ID)
2. Customer Table => Forecast Table (Sales Channel=Sales Channel)
however I receive an error that the relationship cannot be set due to ambiguity that it creates..
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 27 | |
| 27 |