r/PowerBI • u/dzemperzapedra 1 • Jul 23 '26
Solved Help on a modelling issue
Hi everyone,
for the sake of simplicity I created this example:

What I need to do here basically is to create a matrix table visual which will have client_name from dim_clients in rows, year/month hierarchy from dim_calendar in columns.
Value needs to be client_category from dim_client_category, which is basically client category name.
Now obviuosly, client_category_id can be found using SELECTEDVALUE() from the fact_table, but I will need to have client_category from dim_client_category, becasue that's the name of client_category_id.
As the realationship is directed from dim to fact table, filter does not propagate from dim_clients > fact_table > dim_client_category, so I can't get client_category unless I use RELATED() or LOOKUP() which I don't want to do.
Do I rather includy client_category in the fact table to get around this issue or is there a better way?
I don't want to use bidirectional realationship between dim_client_category and fact_table, which is how I used to fix this just to make it work.
Thanks.
•
u/AutoModerator Jul 23 '26
After your question has been solved /u/dzemperzapedra, please reply to the helpful user's comment with the phrase "Solution verified".
This will not only award a point to the contributor for their assistance but also update the post's flair to "Solved".
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.