Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi.
Can somebody please help me with a DAX function for the average days of inventory that does not take time into account? I have set my table to show me the last 12 months but I want to include the average days before the 12 months. So it should somehow accumulate the days 🙂
Hope it makes sense.
Best regards,
Lisa
@pratyashasamal
No, I have over 10 years of data but have restricted it to 12 months. Also it is not sales numbers but it has to be calculated based on dates. I made this function but it is not working 🙂
Hi @Anonymous ,
Hope the suggestion us hepful .
I had just provided some example so that you can related to it .
Thanks ,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
Proud to be a Super User!
Hi @Anonymous ,
You can use this type of dax calc :-
Average = AVERAGEX(ALL(Sales),Sales[TaxAmt])
Note :-
If you dataset has only 12 month of data (imported only 12 month of data) then average will be on top of 12 months of data . But if there more data imported by you have restricted for only the visual then ALL function can be used .
Thanks,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
Proud to be a Super User!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 36 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 74 | |
| 72 | |
| 38 | |
| 35 | |
| 26 |