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 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,
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 |
---|---|
112 | |
97 | |
84 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |