Forum Discussion
Using RELATED DAX function in FACT table from SQLServer
- 1 year ago
I was on the right track with:
CALCULATETABLE(ADDCOLUMNS('ReportMetric',"FieldName", LOOKUPVALUE('Field'[FieldName], 'Field'[FieldId],'ReportMetric'[MetricId])),FILTER(ReportMetric, 'ReportMetric'[ReportId] = [seletectedReportId]))Unfortunately, I was missing a relationship between my dax table and the Reports table.
Works now. Thanks for everyone's help.
Hi Riyaz999
Just following up on the issue you raised about sorting MetricId by your CalculatedOrdinal field and the challenges with filtering ReportMetricTable.
Were you able to try out the suggestions shared by lbendlin (like the note about RELATED only working in many:one relationships)?
I was on the right track with:
Works now. Thanks for everyone's help.
- v-aatheeque1 year ago
Community Support
Hi Riyaz999
Glad to hear the earlier approach helped resolve your issue once you added the missing relationship.
Could you confirm if everything is now working smoothly with your DAX table and reports, or if you still need any further assistance? - Riyaz9991 year ago
Helper II
Confirmed, the issue I raised here has been resolved.
- v-aatheeque1 year ago
Community Support
Hi Riyaz999
We’re glad to hear that your issue has been resolved! Please continue to use the Microsoft Fabric Community platform whenever you have questions.
If the responses above helped address your query, kindly click Accept Answer , If you have any further queries, feel free to reach out.
Thank you for being part of the Microsoft Fabric Community!