Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
henrydhs
Frequent Visitor

Automatically filter 3 fields at the same time

Dear colleagues,

I have a question and I'm not sure how to solve it. I have two tables and I want one to filter 3 fields at the same time automatically in table 2. The problem is that it only allows one relationship at a time.

I leave the following example in case you can help me.

 

Table 1

henrydhs_0-1718983162787.png

Table 2

henrydhs_2-1718983343328.png

 

 

Relationship

henrydhs_1-1718983275328.png

When putting Active there another relationship appears this problem

henrydhs_0-1718984755635.png

 

I tried to use this Dax formula but doesn't work. I think because doesn't have a relationship 

henrydhs_0-1718985206016.png

 

Thank you

 

 

 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

you can either create a composite key that concatenates these three fields. or your can use disconnected tables and TREATAS based measures to filter your second table.

View solution in original post

Thank you very much. It´s more easy than I thought, I creat that concatenate relationship. Thank you 

View solution in original post

3 REPLIES 3
henrydhs
Frequent Visitor

Hello everyone,

After creating the concatenate function, I now have a problem selecting the PDCA table with the PDCA filter. The percentage calculation formula does not work correctly. Below is an example:

```DAX
ColunaFiltragem Append L1 L2 = 'Append L1 L2'[Description Piece type] & " - " & 'Append L1 L2'[Descrição Defeito] & "-" & 'Append L1 L2'[Model]

The calculation formula is:
```DAX
PDCA 3% = DIVIDE([Reprocesso 1o Fogo], [Entrd. EF 1o Fogo Fixo Geral], 0)

Example 1:
When the PDCA table is filtered:

henrydhs_5-1719388765779.png

 

DAX
Entrd. EF 1o Fogo PDCA = CALCULATE(SUM('Append L1 L2'[Entrd. EF 1o Fogo Coluna]))

henrydhs_3-1719388574138.png

 

 

 Example 2:
I tried with the `CALCULATE` and `ALL` formula, but there is no filtering:

henrydhs_4-1719388645684.png

 

 

DAX
Entrd. EF 1o Fogo PDCA = CALCULATE(SUM('Append L1 L2'[Entrd. EF 1o Fogo Coluna]), ALL('Append L1 L2'[ColunaFiltragem Append L1 L2]))

 

The correct value would be:

henrydhs_2-1719388487968.png

 

The problem seems to be with the filtering of the formula `Entrd. EF 1o Fogo PDCA`, but I don't know how to solve the issue to perform the calculation correctly.

lbendlin
Super User
Super User

you can either create a composite key that concatenates these three fields. or your can use disconnected tables and TREATAS based measures to filter your second table.

Thank you very much. It´s more easy than I thought, I creat that concatenate relationship. Thank you 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.