This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello,
I have been trying for several days now to solve an issue in my Power BI report.
Context:
I am analyzing ticket creation, resolution date, and compliance for a client.
How:
I determine whether tickets fall within the scope of the analysis by applying several filters:
Why:
Once the tickets meet these criteria, my measure returns "OK" if they are compliant, or "KO" if they are not.
Requirements:
First, I need to check that tickets are in "Authorized" status and that their [duedate] is earlier than the date selected in the filter.
Second, I need to check that tickets are in status ("Qualified" OR "Closed") and that [duedate] falls within a date range selected in the filter.
Additional constraints:
Here is the formula with the date filters included, just to illustrate the logic:
C1 =
IF(
AND(
OR(
NOT(AND(
'TABLE'[statusName] = "Authorized",
'TABLE'[duedate]<=DATE(2025,12,15)
)),
'TABLE'[statusName] IN {"Technically qualified", "Operationally qualified", "Closed"} &&
NOT(ISBLANK('TABLE'[TQ_StatusDate])) &&
'TABLE'[duedate] >= DATE(2025,09,01) &&
'TABLE'[duedate] <= DATE(2025,12,15)
),
'TABLE'[TQ_StatusDate]<='TABLE'[duedate]
),
"OK",
"KO"
)
Problem:
If I filter on the interval from 2025-09-01 to 2025-12-15, the first part of my formula is no longer exhaustive, because for that part I need to include everything before 2025-12-15, not just what falls inside the selected interval.
I managed to work around this by using the ALL() function (to remove the date constraint) in order to count tickets matching the criteria and display them in a single chart, but this only gives me aggregated counts and removes the interaction with the detail table.
Thank you in advance for your help.
Charles
Solved! Go to Solution.
Hi @Charlespbi have applied the conditions, please review if this solves the issue.
Hello, I cannot share a .pbix file, I don't have the "super user" rights.
https://drive.google.com/drive/folders/14ogpfMw5kY8su1PahFjJchJnRjz4lOSB?usp=drive_link
I can only share a Gdrive link.
Hi @Charlespbi have applied the conditions, please review if this solves the issue.
Hello @techies, that solves the problem ; thank you very much.
Unfortunately, another issue has come up.
Let’s say I want to filter tickets by resolver group. Since there is no relationship between the ‘ComplianceCategories’ table and the ‘Tickets’ table, the filters don’t apply to the chart.
Should I follow the same logic as for the ‘SlicerDate’ table and create a ‘Contract’ table?
yes, and also Replace ALL with ALLSELECTED in Count OK and Count KO so any slicer on the Tickets table works
Hey,
i think you need to use a separate date table. Could you attach a pbix file? It will be easier.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |