March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
86 | |
77 | |
57 | |
52 |
User | Count |
---|---|
201 | |
137 | |
108 | |
73 | |
68 |