You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I view ReportObjects_UnusedObjects.txt, I see columns that are part of RLS or OLS or a relationship, as well as measures that are used for conditional formatting. Is this expected?
My model has two tables:
In addition to the relationship, there's an RLS role, an OLS role, and a table visual with conditional formatting (background color).
I expect to see only [Unused measure] in ReportObjects_UnusedObjects, yet I see everything but 'Table'[Column for a table visual]: ReportObjects_UnusedObjects.txt
See version 1.5.6. I've added dependencies for OLS. RLS is a bit trickier and I've logged a question within Tabular Editor's GitHub to determine the best way to accomplish this. (TabularEditor/TabularEditor#1015).
The 'column for relationship' isn't included since nothing in Table 2 is determined to be used by the report.
See version 1.5.7. RLS dependencies have been added.
DaniilMaslyuk
changed the title
ExportReportObjects.cs: RLS, OLS, and relationships not considered?
ExportReportObjects.cs: conditional formatting, RLS, OLS, and relationships not considered?
Aug 5, 2022
Thanks, @m-kovalsky. Now just the issue of conditional formatting measures remains (somehow I failed to edit the title last time I edited the issue description). I.e. I still see a conditional formatting measure in ReportObjects_UnusedObjects.txt. Feel free to close this issue if you think it's better addressed in #13.
When I view ReportObjects_UnusedObjects.txt, I see columns that are part of RLS or OLS or a relationship, as well as measures that are used for conditional formatting. Is this expected?
My model has two tables:
In addition to the relationship, there's an RLS role, an OLS role, and a table visual with conditional formatting (background color).
I expect to see only [Unused measure] in ReportObjects_UnusedObjects, yet I see everything but 'Table'[Column for a table visual]: ReportObjects_UnusedObjects.txt
Sample PBIX file: Sample for issue 14.zip
In case it matters, I'm connecting to the model locally. The only parameters I changed were pbiFolderName, pbiFile, addPersp (the latter set to true).
Is there something I'm doing incorrectly?
The text was updated successfully, but these errors were encountered: