Forum Discussion
Filter is not working in Direct query mode
- 9 years ago
Hi,
Did you find any solution for this??
Please update, even I am facing same issue.
Regards,
Gourangi
Hi all, this issue is not solved as of May 25, 2018. We are using Power BI Report Server and the matching version of Power BI Desktop dated March 2018.
When we deploy a DirectQuery mode report containing measures like this, with "Allow unrestricted measures in DirectQuery mode" duly enabled
LatestCumulativeVarToTarget =
CALCULATE (
VALUES ( 'NonAffiliatedOutletSales'[CumulativeVarToTarget] ),
FILTER (
'NonAffiliatedOutletSales',
'NonAffiliatedOutletSales'[CalculateDate]
= MAX ( 'NonAffiliatedOutletSales'[CalculateDate] )
)
)
and "Save As" to Power BI Report Server, when the report is rendered visuals that use such measures display with the circled X and text "Can't display the visual. See details." The details message is:
Not solved.
Is this the expected behavior?
- bboy819058 years agoFrequent Visitor
I also have the same problem when I used directquery mode. On the other hand, in import mode, this measure is working.
LatestTurbidity = CALCULATE(MAXA(MsgJamhamTest1[Value]), FILTER(MsgJamhamTest1,[Type]="Turbidity"&&[UpdateTime]=MAX([UpdateTime])))