Forum Discussion
Count by Date using filters
- 9 years ago
Rather than custom formulas, have you tried the "Group By" funcitonality within the query editor?
Rather than custom formulas, have you tried the "Group By" funcitonality within the query editor?
That actually worked (the filtering part)... Thank you for the help. However, when I try to create Measure to calculate "Net Open" over time period to show on the Chart, it's not giving me right number based on filters selected:
Here is my table (gruped by) and I have also addedd Index to this to start from 1:
Then I have created Messure to count Net Open overtime using the same formula as in my previous attempt which worked (but I couldn't figureouit Gating Milestone filtering):
Now calculations here are not right as you can see numbers do not match:
And if I select any filter from the Gating Milestone, the numbers would be totally wrong :-(
This is what the chart should look like (blue line)
- dkay84_PowerBI9 years agoMicrosoft EmployeeCan you post some sample data or the PBIX for us to play with?
- CROforce9 years agoHelper I
I have just figured it out... I had to use ALLSELECTED in my formula instead of ALL
Net OPEN = CALCULATE ( SUM ( 'Open'[Open] ) , FILTER ( ALLSELECTED ( 'Open' ), 'Open'[Index] <= MAX( ( 'Open'[Index] ) ) ))