Forum Discussion
Dhruvkh
1 year agoNew Member
Dax Query not giving results as expected
Hello guys, I am running this DAX query EVALUATE FILTER(Sales, CALCULATE(SUM(Sales[Quantity]),Sales[ProductKey]=1)) I am not getting expected results as per explanation in powerbi document...
Dhruvkh
1 year agoNew Member
Hi MFelix Thanks for your reply but I am not getting rows for ProductKey = 1. Instead I am getting some random rows of my sales table.
MFelix
Super User
1 year agoHi Dhruvkh ,
Without having access to the data model is difficult to understand what can be happening, the code that you shared should give that result.
Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.
If the information is sensitive please share it trough private message.