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.
Hello all.
I have a table AAA with ShopNb, qty Visiteurs and date (2021 and 2020 years) and table Calendar ( CALENDARAUTO ()
I need to compare two measure, which have visitors values> 0 for the same stores for the same period (2021 vs 2020 ( example 01/01/2021 vs 01/01/2020)
I created:
1. Traffic 2021 = sum('AAA'[Visiteurs])
2. Traffic 2020 = CALCULATE(sum('AAA'[Visiteurs]),SAMEPERIODLASTYEAR(Calendar'[Date]))
after that I have such table:
I don`t know how use filter Traffic 2021>0 & Traffic 2020>0, because it`s measures. I tried to use if statement, but the sum of column doesn`t change. How can i solve this problem? Thanks a lot
@amitchandak ,it only works for for the table. When i create measure TOTALMTD() it doest work. is there a solution when using functions TOTALMTD()?
@Sapotyuk , on way is to put visual level filter
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 |
---|---|
41 | |
19 | |
19 | |
16 | |
15 |
User | Count |
---|---|
49 | |
26 | |
22 | |
17 | |
16 |