i have requirement like this
create a 'consumption rate' metric, which takes into consideration order size and frequency.
Example: doctor office purchases 4 cases, and then the following month purchases 8 cases. This implies they have used 4 cases / month, and so their reorder would last for two months
Thanks
Hi @Ruthwiksai_2021 ,
In order to provide you a suitable solution, could you please share some sample data in your tables(exclude sensitive data) and your expected result with backend logic and special examples. Thank you.
1. Sample data
Col1 | Col2 | Col3 |
xx | xx | xx |
xx | xx | xx |
2. Calculation logic
consumption rate=(number of cases)/(count of months in selected date period)?
3. Expected result with special examples
Col1 | Col2 | consumption rate |
xx | xx | ? |
xx | xx | ? |
Best Regards
@Ruthwiksai_2021 , It would like
divide( count(table[Cases]), distinctcount(Table[Year Month]))
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!
User | Count |
---|---|
378 | |
104 | |
66 | |
54 | |
49 |
User | Count |
---|---|
354 | |
123 | |
84 | |
68 | |
62 |