Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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,
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
91 | |
86 | |
76 | |
66 |
User | Count |
---|---|
149 | |
117 | |
111 | |
106 | |
95 |