Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
69 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |