Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi everybody.
I need to calculate the unique number of tradepoints for the period and then display the average value for further use, tell me how to do this?
The results can be calculated in two ways:
1.Calculate dropsize by tradepoints for each month then take the average for the required period
2.Summaraize count for the period divided by the average ACB (unique ID trade point) monthly for the selected period
Example in the picture
Hello @Anonymous
Can you please clarify how you did the calculation for DropSize and DropSizeQuarter?
dropsize_1month = sum(count_1month) / distinctcount (TradePointID_1month)
dropsize_2month = sum(count_2month) / distinctcount (TradePointID_2month)
dropsize_3month = sum(count_3month) / distinctcount (TradePointID_3month)
Dropsize_quarter ,
1 option = sum(count_1month, count_2month,count_3month) / avarage (distinctcount (TradePointID_1month), distinctcount (TradePointID_2month),distinctcount (TradePointID_3month))
2 option = avarage (dropsize_1month, dropsize_2month, dropsize_3month)
Hello @Anonymous , Thank you for responding.
In your calculations, everything is logical, but the possibility of choosing a period has not been taken into account, I still would like to get a universal calculation tool, regardless of the number of selected months / quarters / years
User | Count |
---|---|
42 | |
28 | |
23 | |
18 | |
15 |
User | Count |
---|---|
54 | |
35 | |
18 | |
18 | |
15 |