The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I would like to create a report that shows me receivables due after 90 days. The current model has several calendar tables. One for due date and so on. There are no plans yet to change the model.
I use a Dax query to determine the receivables concerned and then filter them dynamically using a different calendar. This works statically, but no longer dynamically. The query works in the DaxViewer, but no longer in the report.
To fix this, I do not understand the underlying problem. 😞 I would be very happy to receive help.
Here is the result:
This result would expected:
The model:
The DAX:
Solved! Go to Solution.
Do you want the data in the last column of the table to change dynamically with the slicer?
I'm a little confused about your expected result, as the screenshot you provided don't seem to change except for the total slicer range.
Since I don't have your data, I can't restore your scenario, below is a simple sample I created for your reference.
Sample:
Slicer table:
no relationship between two tables:
I created a measure that returns 1 if the date is greater than or equal to 90 days in the range selected by slicer.
Measure =
VAR _MinDate = MIN(Slicer[Date])
VAR _MaxDate = MAX(Slicer[Date])
RETURN
IF(MAX([Date]) >= _MaxDate + 90, 1, 0)
Output:
If your problem persists, please provide some sample data so I can help you better. How to provide sample data in the Power BI Forum - Microsoft Fabric Community Or show them as screenshots or pbix. Please remove any sensitive data in advance. If uploading pbix files please do not log into your account.
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Do you want the data in the last column of the table to change dynamically with the slicer?
I'm a little confused about your expected result, as the screenshot you provided don't seem to change except for the total slicer range.
Since I don't have your data, I can't restore your scenario, below is a simple sample I created for your reference.
Sample:
Slicer table:
no relationship between two tables:
I created a measure that returns 1 if the date is greater than or equal to 90 days in the range selected by slicer.
Measure =
VAR _MinDate = MIN(Slicer[Date])
VAR _MaxDate = MAX(Slicer[Date])
RETURN
IF(MAX([Date]) >= _MaxDate + 90, 1, 0)
Output:
If your problem persists, please provide some sample data so I can help you better. How to provide sample data in the Power BI Forum - Microsoft Fabric Community Or show them as screenshots or pbix. Please remove any sensitive data in advance. If uploading pbix files please do not log into your account.
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
A small addition. A second Dax query with a similar structure works. It uses a different date field for one variable, but ultimately only produces filtered documents. I do not understand the underlying problem.
The second DAX formula:
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |