Forum Discussion
dpombal
Post Partisan
9 years agoDAX get count from previous existing day
I have following dataset Date ProductID 01/01/2017 1 01/01/2017 2 01/01/2017 3 02/01/2017 1 02/01/2017 2 02/01/2017 3 02/01/2017 4 05/01/2017 1 05/01/2017 ...
dpombal
Post Partisan
9 years agoI added a new column to simulate my case, i need new colum work with an slicer (PruductType)
| Date | ProductID | ProductType |
| 01/01/2017 | 1 | small |
| 01/01/2017 | 2 | small |
| 01/01/2017 | 3 | big |
| 02/01/2017 | 1 | small |
| 02/01/2017 | 2 | small |
| 02/01/2017 | 3 | big |
| 02/01/2017 | 4 | big |
| 05/01/2017 | 1 | small |
| 05/01/2017 | 2 | small |
| 05/01/2017 | 3 | big |
| 05/01/2017 | 4 | big |
| 05/01/2017 | 5 | big |
| 06/01/2017 | 1 | small |
| 06/01/2017 | 2 | small |
| 06/01/2017 | 3 | big |
| 06/01/2017 | 4 | big |
New PBIX link with new data
pbi_m1
8 years agoFrequent Visitor
I was just wondering if you ever found a solution to this 'grouped' previous count. I've come across the same issue. Whilst it's pretty straightforward in SQL or Excel or Access it seems mindbendingly tricky im Power BI.
- dpombal8 years ago
Post Partisan
No unfortunately not, sorry