Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello Community!
Hopefully someone can rescue me on this one!
I have data like this:
Date | Full Name |
12/08/2022 | Ms Vicky Castillo |
17/03/2021 | Mr Mark Molloy |
05/01/2022 | Ms Michaela Synnott |
09/10/2021 | Ms Heli Mooney |
05/08/2021 | Mrs Karen Herbert |
I would like to COUNT how many people there are for each month (I don't care about the day or time, exactly) and then display this on a bar chart.
However, this bar chart needs to also display a bar chart for each month, but for the previous year!
I want to see how many people there are, for example, in January 2022 and at the same time how many there were on January, but of last year.
Eventually, I would get something like this:
Solved! Go to Solution.
Hi, @Anonymous ;
You could create two measures .I tested a simple file:
Total sales LY = CALCULATE(SUM(financials[ Sales]),FILTER(ALL(financials),EOMONTH([Date],0)=EOMONTH(MAX('financials'[Date]),-12)))
%change = DIVIDE(SUM([ Sales]),[Total sales LY])-1
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous ;
You could create two measures .I tested a simple file:
Total sales LY = CALCULATE(SUM(financials[ Sales]),FILTER(ALL(financials),EOMONTH([Date],0)=EOMONTH(MAX('financials'[Date]),-12)))
%change = DIVIDE(SUM([ Sales]),[Total sales LY])-1
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Are you looking for something like new or returning customers? If so @marcorusso has a great blog on this. See link below. DAX Patterns: New and returning customers - SQLBI
D
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
76 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
64 | |
59 | |
56 |