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,
I need to visualize the sales of new products by month, can anyone help me?
My table contain the sales per product per month. (i don't have the day info)
I tried to improvise using the quick measure (sales from new custumers but it didn't work well ...
thank you
Riad
Solved! Go to Solution.
Hi @riadorra
See the attached file. Hope it helps
Basically I added a calculated column using formula below that gives sales against a product only if it is the first month for that product. With this column you can get the desired results as shown in the file
First Month Sales= VAR FirstMonth = CALCULATE ( MIN ( Table1[Month/Year] ), FILTER ( ALL ( Table1 ), Table1[Product Name] = EARLIER ( Table1[Product Name] ) ) ) RETURN IF ( Table1[Month/Year] = FirstMonth, Table1[Sales] )
Hi @riadorra,
It's hard to provide detailed solutions without sample table, could you please share your data and list expected result for further analysis?
Best Regards,
Angelia
Hi Angelia,
Please clik on the link bellow, it's a example off my data and the expected results.
Please let me know if you need anything else.
https://www.dropbox.com/s/ijkk4dggkz1158x/Data%20Example.xlsx?dl=0
Thank you
Riad
Thank you Mathur!
You are welcome @riadorra
Hi @riadorra
See the attached file. Hope it helps
Basically I added a calculated column using formula below that gives sales against a product only if it is the first month for that product. With this column you can get the desired results as shown in the file
First Month Sales= VAR FirstMonth = CALCULATE ( MIN ( Table1[Month/Year] ), FILTER ( ALL ( Table1 ), Table1[Product Name] = EARLIER ( Table1[Product Name] ) ) ) RETURN IF ( Table1[Month/Year] = FirstMonth, Table1[Sales] )
Thank you Muhammad!
The following link may be helpful:
Hi Erik,
It's very long to search ... could you please give me a clue where can I find it?
Thank you.
Riad
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 |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |