Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi All,
How can I calculate the year-wise "Sales per Month"?
The below table is the source table.
The Target Table is
Thank you in advance.
Note: "---" means the value is present. just for a brief explanation, I have used the "---" symbol in the target table.
Solved! Go to Solution.
Finally, I got a logic for this requirement.
Step 1:
Month Year = FORMAT(sales(Sales Date),"mmm-yyyy")
Step 2:
Note: This is a new Column only. Not a measure.
@sivasrao refer to this post here - https://community.powerbi.com/t5/Desktop/How-to-Calculate-sales-by-month/m-p/222960#M99077
Thank you. It is working.
Is there any chance to create "sales per month" as a new column? what is the logic for that?
Output like,
Finally, I got a logic for this requirement.
Step 1:
Month Year = FORMAT(sales(Sales Date),"mmm-yyyy")
Step 2:
Note: This is a new Column only. Not a measure.
I used this logic,
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
126 | |
78 | |
78 | |
59 | |
51 |
User | Count |
---|---|
165 | |
83 | |
68 | |
68 | |
59 |