Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I have a table called Sales Summary, which is directly connected to SAP BW report. so it already have JAN-APR sales.
Another Table, called Target, where the target for each month and recorded.
I want to get below;
1. Calculate sales for a particular month by only calculating sales with date e.g (01.01.2023 to 31.01.2023, 01.02.2023 to 28.02.2023, 01.03.2023 to 31.03.2023, 01.04.2023 to 30.04.2023), so that i can get the percentage difference of actual vs target
2. to be able to use filter or slicer to spool from Sales Summary table, the actual sales and display it in the dashboard
I will appreciate if you can help
Hi,
try this measure:
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Thank you for your response.
Please how do i create the calculated column.
I have created the measure so am lost after that.
Where you click to create new measure, the option underneath should be new column
, then just use the formula
= Table1[Date].[Month] & " " & Table1[Date].[Year] to create the new date field
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
This is where i hang, could not go further
I've uploaded an example based on the first 5 rows of your data here:
see if this helps
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Yes, I saw it, this is viewed on a slicer or filter.
What am requesting is, I want the actual sales for each month in a table, having 2 columns: Month & Sales
In my screenshot,
Sales Summary table contain actual sales from JAN till date
Target Table contain targets of each state
achievement table will contain the summary of sales derived from Sales Summary Table, it will have 2 columns (Month and Sales)
Apologies for giving you back and forth on this, am still a newbee
No problem,
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Like Sample Above. So i want it to calculate April Sales
Hi,
do you have an example of how the data looks or able to share the PBIX file?
Without knowing the structure of the data I would assume you have a date field in the sales table. If you extract the month and year into separate fields then use something like the below to sum the sales for that particular month:
Like Sample Above. So i want it to calculate April Sales
Have a look here:
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
User | Count |
---|---|
82 | |
80 | |
72 | |
71 | |
55 |
User | Count |
---|---|
108 | |
108 | |
97 | |
86 | |
68 |