Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
My goal is to create a VAR _table which will contain
a) gender from table personal
b) product description from table product description
there is no link between these 2 tables, they are all connected to main table by either personID or productID
Solved! Go to Solution.
Hi @Pbiuserr ,
If you want do this with some filter by the relationships between fact table and Person table and Product description table, please change one of the relationships' cross filter direction to both.
If do not do this, it maybe complai to reatch that.
And after changing the direction, use meausre like the following:
var _s = summarize( 'Person table', [Gender],'Product description table'[Product description],"some column name", <expression>)
If you need more help, please share some example data and expect result.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Pbiuserr
I don't understand what you mean by "main table". Can you show a sample of the relevant tables and their relationships (including that "main table")? With the expected result
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Well, fact table (can't share screenshots, sensitive data in column names)
So there are 3 tables
Fact table
Person table
Product description table
Person table is connected to fact table with personID
Product description table is connected to fact table with productID
My goal is to get a table that shows (for measure, so stored as VAR)
Gender | Product description | My measure (change prior last month) |
Hi @Pbiuserr ,
If you want do this with some filter by the relationships between fact table and Person table and Product description table, please change one of the relationships' cross filter direction to both.
If do not do this, it maybe complai to reatch that.
And after changing the direction, use meausre like the following:
var _s = summarize( 'Person table', [Gender],'Product description table'[Product description],"some column name", <expression>)
If you need more help, please share some example data and expect result.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
55 | |
37 | |
34 |
User | Count |
---|---|
99 | |
56 | |
51 | |
44 | |
40 |