Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Looking to filter an ID between 2 unrelated tables\
i have a text filter that upon entering a value will filter both tables
Table 1 field is called ParentID
Table 2 field is called Case ID
the numbers in tables have the same values but i cannot relate the tables with causing circular relationships
any help would be appreciated
thanks
Hey @Anonymous ,
in this case you can filter it with CALCULATE. Like this you can use a value from one table and use it as a filter criteria for the other table.
@selimovd
still unsure how to apply it
i tried this formula with no luck
Hey @Anonymous ,
maybe you can explain what exactly you want to do. CALCULATETABLE creates a table when the data model is loaded. From then on the table will not react to the selection of slicers.
If you want for example to change a measure based on the slicer, you could use something like this:
Sales by ID =
VAR vSlicerID = MAX( SlicerTable[SlicerID] )
RETURN
CALCULATE(
SUM( Sales[SalesAmount] ),
Sales[SlicerID] = vSlicerID
)
@selimovd
i am trying to filter on 2 unrelated tables with a single text filter visualisation
when i join the 2 tables i get a circular reference error so i am forgoing that and trying to have a single input that will filter the relevant information in 2 separate table visuals, which in this case is 2 separate data models that have the same ID in both tables
i do not need any aggregation, i just want to filter on the specific information
Hey @Anonymous ,
when you use a measure you always need an aggregation.
When you don't use a measure (e.g. calculated table or column) it's not dynamic, so it won't react to any slicer. So you need an aggregation for sure.
Can you share the file or explain with an example what exactly you want?
Best regards
Denis
is there documentation you can provide?
thanks
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |