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.
Good morning
I have a matrix that looks like this. Each value Loaded, Contacted, % Contact... are measures that are in the Values field in the matrix. I need to get a new column with the difference of the Current - Close column, i.e. Current Loaded - Closed Loaded etc.
To try to get something like that
Is there any way to get what I need?
Thank you all very much
Solved! Go to Solution.
Hi @Syndicate_Admin ,
According to your description, here's my solution.
1.Create a new table with a single column, create relationship with the fact table.
2.Create new measures or directly modify the original measures.
Contactados2 =
IF (
MAX ( 'New'[New Column] ) = "Prog",
CALCULATE (
[Contactados],
FILTER ( ALL ( 'Table' ), 'Table'[Column] = "Actual" )
)
- CALCULATE (
[Contactados],
FILTER ( ALL ( 'Table' ), 'Table'[Column] = "Cierre" )
),
[Contactados]
)
Aceptotas2 =
IF (
MAX ( 'New'[New Column] ) = "Prog",
CALCULATE (
[Aceptotas],
FILTER ( ALL ( 'Table' ), 'Table'[Column] = "Actual" )
)
- CALCULATE (
[Aceptotas],
FILTER ( ALL ( 'Table' ), 'Table'[Column] = "Cierre" )
),
[Contactados]
)
Get the correct result:
I attach my sample below for your reference.
Best regards,
Community Support Team_yanjiang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I was on vacation and hadn't seen the answer.
Thank you you have solved the problem I had
Hi @Syndicate_Admin ,
According to your description, here's my solution.
1.Create a new table with a single column, create relationship with the fact table.
2.Create new measures or directly modify the original measures.
Contactados2 =
IF (
MAX ( 'New'[New Column] ) = "Prog",
CALCULATE (
[Contactados],
FILTER ( ALL ( 'Table' ), 'Table'[Column] = "Actual" )
)
- CALCULATE (
[Contactados],
FILTER ( ALL ( 'Table' ), 'Table'[Column] = "Cierre" )
),
[Contactados]
)
Aceptotas2 =
IF (
MAX ( 'New'[New Column] ) = "Prog",
CALCULATE (
[Aceptotas],
FILTER ( ALL ( 'Table' ), 'Table'[Column] = "Actual" )
)
- CALCULATE (
[Aceptotas],
FILTER ( ALL ( 'Table' ), 'Table'[Column] = "Cierre" )
),
[Contactados]
)
Get the correct result:
I attach my sample below for your reference.
Best regards,
Community Support Team_yanjiang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
100 | |
99 | |
80 | |
77 | |
66 |
User | Count |
---|---|
134 | |
106 | |
104 | |
85 | |
73 |