Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi there,
Below is my model:
I would like to calculate a column in the 'inv_unit' table, that gives me the 'srv_event'[placed_time] for each gkey (or row) in the 'inv_unit' table.
but because there are multiple 'srv_event'[placed_time] for a given 'inv_unit'[gkey], the criterion for choosing the correct 'srv_event'[placed_time] is where 'srv_event_types'[id]="UNIT_LOAD"
Please can someone kindly help me by telling me what my calculated column formula in 'inv_unit' data table should look like to achieve this?
Thanks in advance for your help
Wes
We can use FILTER and RELATED function to get value from another table. If you could provide us some sample data, we can try to figure out the detail formula.
https://msdn.microsoft.com/en-us/library/ee634202.aspx
Regards,
Charlie Liao
Thanks for looking into this for me.
I've just sent you a private message with a link to the pbix file. I hope that's ok.
Thanks again in advance for your help.
Wes
hope this message finds you well. Just wondering if you had the chance to look at the file I sent?
Thanks,
Wes
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 |
---|---|
72 | |
68 | |
53 | |
39 | |
33 |
User | Count |
---|---|
70 | |
63 | |
57 | |
49 | |
46 |