Compare One Sale Versus The Last Sale (No Time Intelligence) - Advanced DAX Insights

preview_player
Показать описание
Great insights can be quite easily found when you utilize DAX formulas well.

This example is no exception. I'm looking to compare any sale versus the last sale made on any particular historic day. So time intelligence function won't do the job for us here.

Sometimes in Power BI you need insights where time intelligence function won't produce the results for you. So you need to think through the logic required.

The FILTER function in combination with the CALCULATE statement enables us to find this great insight.

*****Video Details*****
0:16 - Introduction
1:53 - Using The Sales Table Instead Of The Dates Table
3:07 - Using Variable To Isolate Prior Date
4:24 - Using FILTER Function To Return A Result
5:14 - Conclusion

***** Learning Power BI? *****

***** Related Links *****
Time Comparison For Non Standard Date Tables In Power BI
Using Variables In Power BI – A Detailed Example
Last Purchase Date in Power BI: When Did Your Customers Make Their Last Purchase?

***** Related Course Modules *****
Unique Analytical Scenarios
Time Intelligence Calculations
Mastering DAX Calculations

***** Related Support Forums *****
Compare One Sale Versus The Last Sale (No Time Intelligence)
Sales vs Target Matrix Comparison Issues
FILTER Function Inside CALCULATE
For more comparing sales queries to review see here…..
Рекомендации по теме
Комментарии
Автор

Related Links
Time Comparison For Non Standard Date Tables In Power BI
Using Variables In Power BI – A Detailed Example
Last Purchase Date in Power BI: When Did Your Customers Make Their Last Purchase?

Related Course Modules
Unique Analytical Scenarios
Time Intelligence Calculations
Mastering DAX Calculations

Related Support Forums
Compare One Sale Versus The Last Sale (No Time Intelligence)
Sales vs Target Matrix Comparison Issues
FILTER Function Inside CALCULATE
For more comparing sales queries to review see here…..

EnterpriseDNA
Автор

Thanks. very good video. One quick question please, why the first date does not have a last sales value? Thanks.

shiyouliu