Forum Discussion
Power BI Dax Linking data from multiple tables
- 1 year ago
Billable Work (works):
Billable Work = SUM ( 'Track Invoice'[Billable Work] )
Run Time (if direct relationships work):Run Time = SUM ( 'GPS'[Run Time] )
If Foreman doesn’t filter GPS → use TREATAS bridge:Run Time =
CALCULATE (
SUM ( 'GPS'[Run Time] ),
TREATAS ( VALUES ( 'Track Equipment'[Equipment ID] ), 'GPS'[Equipment ID] ),
TREATAS ( VALUES ( 'Track Equipment'[Work Date] ), 'GPS'[Date] )
)
Use the TREATAS version if your runtime doesn’t align with Foreman/Date/Equipment.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523