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 want to find out sales for every week Wednesday, Thursday, and Friday
or
every 13th, 14th, and 15th day of each month
as I have promotion ongoing
thanks
Solved! Go to Solution.
Hi,
Please find the below solution,
Calculated columns in 'Date Dim',
DateNo. = 'Date Dim'[Date].[Day]
WeekDay = FORMAT('Date Dim'[Date],"ddd")
Measures,
@abc_777 , Create a column like day of month and week day in your table
day = day([Date])
Weekday = weekday([Date]) //Sunday =1
Then you can have filter
calculate(sum(Table[Value]), filter('Date', 'Date'[Day] =15))
calculate(sum(Table[Value]), filter('Date', 'Date'[WeekDay] =15))
Use with time intelligence
MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]), 'Date'[Day] =15 )
for week refer
Power BI — Week on Week and WTD
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...
https://www.youtube.com/watch?v=pnAesWxYgJ8
Power BI — Month on Month with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e
https://www.youtube.com/watch?v=6LUBbvcxtKA
hi, thanks for your reply
is it possible to make it more clear by sharing a pbi file
hi,
to find out sales for every week Wednesday, Thursday, and Friday
thanka
I have done the following measure
I got following,
where I mistake. please suggest
HI, Can you please share an excel screenshot of you expected result.
I don't have an excel file for expectations. But what we have every Wednesday, Thursday, and Friday we have promotion ongoing. and for this purpose, we need this calculation
Hi,
Please find the below solution,
Calculated columns in 'Date Dim',
DateNo. = 'Date Dim'[Date].[Day]
WeekDay = FORMAT('Date Dim'[Date],"ddd")
Measures,
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |