We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Sample file included. I need assistance with cross-filtering tables.
I have data for 'Finished Projects' and additional data for 'Client-Specific Projects.'
'Finished Projects' has a column for the project submitter's name; this is my single-value selection.
(Example: "Jane")
The 'Client-Specific Projects' lists the team assignment names - who was tasked with a given project.
(Example: Names separated by a forward slash "Jane/John/Gian")
I cannot figure out a way to filter client-specific project data based on this single-value selection. I attempted to filter on SelectedValue, counting if the row ContainsString, but nothing worked out as I had hoped.
FilteredBySubmitter = CALCULATE(
COUNTROWS('AcmeProjects'),
FILTER(
'AcmeProjects',
CONTAINS(
'AcmeProjects',
'AcmeProjects'[TeamAssignment],
SELECTEDVALUE(FinishedProjects[Submitter])
)
)
)
โ
Is Submitter in TeamAssignment =
IF (
ISFILTERED( FinishedProjects[Submitter] ),
IF (
COUNTROWS (
FILTER (
AcmeProjects,
AcmeProjects[TeamAssignment] = SELECTEDVALUE ( FinishedProjects[Submitter] )
)
) > 0,
TRUE (),
FALSE ()
),
BLANK ()
)
And for grins: TeamAssignment - Advanced filtering for "=SELECTEDVALUE('FinishedProjects'[Submitter])"
Any help would be GREATLY appreciated!
Sample file + data: https://drive.google.com/drive/folders/17AaUfZ7U_sxWS33Y8UFtaMPKch4Fn-g_?usp=share_link
Solved! Go to Solution.
One of the problems could be that your data model contains only many-to-many relationships.
From what I understand, all your tables are FACT tables,. In order to link them, you should have a separate list of UNIQUE submitter names, and use this as a Dimension table, which links only to your FACT tables. Dont link your fact tables together with each other. Its a bit long to explain in this thread, so I really recommend watching some videos on data modelling and getting rid of many-to-many relationships
One of the problems could be that your data model contains only many-to-many relationships.
From what I understand, all your tables are FACT tables,. In order to link them, you should have a separate list of UNIQUE submitter names, and use this as a Dimension table, which links only to your FACT tables. Dont link your fact tables together with each other. Its a bit long to explain in this thread, so I really recommend watching some videos on data modelling and getting rid of many-to-many relationships
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 37 | |
| 36 | |
| 22 |