Forum Discussion
How Can I Count Breaks in a Pattern?
- 7 years ago
Hi,
You may download my MS Excel file from here. The same file can be imported into PBI desktop as well.
- 7 years ago
Hi Ashir - I ran into a problem after I continued to spot check the data. The thing I didn't account for in the sample data, is that there can be several rows of data, as multiple regions can buy.
I think that's why the counts aren't correct below. I don't think it's accurately counting the purchase instances at an aggregated level. In this example, I should get one consecutive bought style and one non-consecutive bought style. I should have made my sample data better reflect my raw data.
Hi,
So there is nothing wrong with my solution. If your requirements keep changing, it is quite obvious that the solution would require tweaking. Please do not be in a hurry to just post some sample which does not reflect yoru actual dataset. Share a well thought over dataset, describe the business question in detail and then show the expected result.