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 the following set of data queried in power query.
Date of complaint | Customer name | Complaint detail | Resolution status |
1/17/20 | a | aa | Yes |
1/18/20 | b | bb | No |
2/10/20 | c | cc | No |
2/15/20 | d | dd | No |
2/18/20 | e | ee | Yes |
3/16/20 | f | ff | Yes |
4/13/20 | g | gg | Yes |
4/17/20 | h | hh | No |
4/21/20 | i | ii | Yes |
4/31/20 | j | jj | No |
12/5/20 | k | kk | Yes |
12/7/20 | l | ll | No |
I need to show in a line graph - x axis : month names in format Jan20, Feb20, Mar20...Dec20
y axis : number of complaints in each month added cumulatively
Output in line graph based on the above table should be like
Jan20 : 2
Feb20 : 2 + 3 = 5
Mar20 : 5 + 1 = 6
Apr20 : 6+4 = 10
May 20 : 10 + 0 = 10
Jun20 : 10 + 0 = 10
upto
Dec20 : 10 + 2 =12
Solved! Go to Solution.
Hi, @manicktvs91
Please check the below picture and the sample pbix file's link down below.
Complaints count cumulate =
CALCULATE (
SUMX ( VALUES ( Dates[Month & Year] ), CALCULATE ( COUNTROWS ( Complaint ) ) ),
FILTER ( ALL ( Dates ), Dates[Date] <= MAX ( Dates[Date] ) )
)
https://www.dropbox.com/s/jzx99o8dp3f1x1i/manicktvs.pbix?dl=0
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi, @manicktvs91
Please check the below picture and the sample pbix file's link down below.
Complaints count cumulate =
CALCULATE (
SUMX ( VALUES ( Dates[Month & Year] ), CALCULATE ( COUNTROWS ( Complaint ) ) ),
FILTER ( ALL ( Dates ), Dates[Date] <= MAX ( Dates[Date] ) )
)
https://www.dropbox.com/s/jzx99o8dp3f1x1i/manicktvs.pbix?dl=0
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
This is fantastic! You are genius and awesome. I have some more queries and I will post here @Jihwan_Kim
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 |
---|---|
114 | |
100 | |
88 | |
69 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |