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.
Hey!
I'm trying to make my report faster using Direct Query but the is a problem with date filtering.
I'm using mixed storage mode
As the first picture shows I've tried to make localTime and LocalDate-deductions for both DQ-tables using UTC-timestamps from those tables. FirstTest is same data as TestResultsDQ but with import and I've reduced some columns off I don't need in FirstTest.
Then I've got calender table where Date is linked to LocalDate-colums in those DateTime-tables.
Then to the report side.
With those links above this page below shows the right amounts when it's not filtered with any date.
Filtering with one specific day ("This Day" in relative or for example 24.8.2019 to 24.8.2019) also gives right result.
Problem occurs when I try to filter anything else than specific day or whole timeframe.
With any any filters page looks like this:
Same happens when using the date range below reset button. If I take the choice off from Month or Year it loads the fault resons fine but FPY, Products and First test OK keep spinning.
If they eventually load, amounts from whole two months (Just filtering month, so takes both 2019 and 2020) is something like 100 or less (average amount per day for Products is between 500-1000).
The error message is the same for every fault type tile.
Next I will share you the DAX measures for this page:
Products-tile:
Fault Type 2:
Fault Type 3:
Fault Type 4:
Fault Type 5:
Hi@Anonymous Am facing same issue. Have you found a solution for this?
If so can you please post and mark it as accepted solution. Thanks.
Hi @Anonymous ,
Please refer to the documentation.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Think there are two many bidirectional joins you should only have those when most needed. 1-M single direction is best.
Check the query reduction
https://www.youtube.com/watch?v=4kVw0eaz5Ws
and this one
https://www.youtube.com/watch?v=GWAWPCAjkEY
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 |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |