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.
Hi,
I have a table like below,
Date | Network Name | Office Name | Count |
7-Jun | N1 | OFF 1 | 4 |
7-Jun | N2 | OFF 3 | 3 |
6-Jun | N1 | OFF 2 | 5 |
6-Jun | N2 | OFF 4 | 5 |
5-Jun | N1 | OFF 1 | 2 |
5-Jun | N2 | OFF 3 | 3 |
4-Jun | N1 | OFF 2 | 1 |
4-Jun | N2 | OFF 4 | 1 |
3-Jun | N1 | OFF 1 | 4 |
3-Jun | N2 | OFF 3 | 1 |
2-Jun | N1 | OFF 2 | 4 |
2-Jun | N2 | OFF 4 | 2 |
1-Jun | N1 | OFF 1 | 3 |
1-Jun | N2 | OFF 3 | 5 |
31-May | N1 | OFF 2 | 1 |
31-May | N2 | OFF 4 | 2 |
30-May | N1 | OFF 1 | 5 |
30-May | N2 | OFF 3 | 2 |
29-May | N1 | OFF 2 | 2 |
29-May | N2 | OFF 4 | 2 |
28-May | N1 | OFF 1 | 3 |
28-May | N2 | OFF 3 | 2 |
I have written few calculated columns,
I want to calculate the sum of the count column for current week and for previous week for each network and office,
So i wrote the daxes,
but the expected output needed is,
NETWORK NAME | WTD_SUM | PREVWEEK_SUM |
N1 | 11 | 20 |
N2 | 11 | 15 |
Hi,
Create a Calendar Table and show write those calculated column formulas in the Calendar Table. Share the download link of the PBI file.
Hello @Anonymous everythings is ohk in your logic but only change is you should use WEEKNUM instead of rank.
for E.g
Create Column :
############################
@Anonymous I hope this helps you!THANK YOU!!
Hi Mahesh, Still the output is same. its gives the same old output. It is not spliting according to the network
############################
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 |
---|---|
108 | |
98 | |
78 | |
66 | |
53 |
User | Count |
---|---|
139 | |
100 | |
95 | |
85 | |
63 |