Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hallo
Hope someone can help me. I havde this measure:
But i want this output: If type = "Partout" then ignore the day filter called "Dag" but it dont work
Best regards Andreas Alleslev
Please try
VAR endags =
CALCULATE (
SUM ( 'Digital produkt status'[Antal] ),
FILTER (
'Alle produkter',
'Alle produkter'[Type] = "endags"
)
)
VAR partout =
CALCULATE (
SUM ( 'Digital produkt status'[Antal] ),
'Alle produkter'[Type] = "partout"
)
RETURN endags + partout
thank for your answar. it gives the same result
VAR endags =
CALCULATE (
SUM ( 'Digital produkt status'[Antal] ),
FILTER (
'Alle produkter',
'Alle produkter'[Type] = "endags"
)
)
VAR partout =
CALCULATE (
SUM ( 'Digital produkt status'[Antal] ),
'Alle produkter'[Dag] = "partout"
)
RETURN endags + partout
Hmm, no is the same result. But i have tried, and now i get the correct answar but the result is in the wrong row?? the result for Partout must be in the row partout
does "dag" come from your calendar table, maybe you need to use filter(all(caledar, ... in your calculate.
other wise try FILTER(allexcept('Alle produkter','Alle produkter'[Type]), 'Alle produkter'[Type]="partout")
Nope, is come from the product table. the product table have af "Type" and af "Dag" collum. and when the "type" is "Partout" then ignore the "Dag" collum.
other wise try FILTER(allexcept('Alle produkter','Alle produkter'[Type]), 'Alle produkter'[Type]="partout")
Hmm, nope, is dosent work. it fails:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
8 |
User | Count |
---|---|
23 | |
13 | |
11 | |
10 | |
10 |