Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Please assist? What store has the highest percentage decrease in sales between Jul 2019 and Jul 2020 and What region has the highest Sales/clocked hours ratio in 2020 YTD? What was the ratio?
https://drive.google.com/file/d/1ztaF0QPrSaqqOQW3OQv-oGCy14j3SFXV/view?usp=sharing
Thank you. I am curious to know how you started your analysis to get to the answers?
@Yrstruly2021 Highest store % decrease is NYANGA with a 100% change (no sales in July 2020 but sales in July 2019).
Highest sales/clocked hours ratio in 2020 YTD is ECAPEL EL CENTRAL at 221.30.
@Yrstruly2021 Just kidding, here are the measures and attached PBIX below sig.
Sales July 2020 = SUMX(FILTER('Raw data',YEAR([date])=2020 && MONTH([date])=7),[sales])
Sales July 2019 = SUMX(FILTER('Raw data',YEAR([date])=2019 && MONTH([date])=7),[sales])
% Change = DIVIDE([Sales July 2020] - [Sales July 2019],[Sales July 2019],0)
Sales 2020 YTD = SUMX(FILTER('Raw data',YEAR([date])=2020),[sales])
Hours 2020 YTD = SUMX(FILTER('Raw data',YEAR([date])=2020),[hours_clock])
Ratio = DIVIDE([Sales 2020 YTD],[Hours 2020 YTD],0)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 21 | |
| 10 | |
| 7 | |
| 7 |