Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello everyone!
I would like to compute a WTD sales measure based on the current month.
For this purpose I have a TRUE/FALSE column in my calendar table.
This filter is used on the report page.
Then I have a WTD measure:
SalesWTD =
CALCULATE (
[Sales],
FILTER (
ALL ( 'Calendar' ),
'Calendar'[Fiscal Year]
= MAX ( 'Calendar'[Year] )
&& 'Calendar'[Date]
<= MAX ( 'Calendar'[Date] )
&& 'Calendar'[Fiscal Week]
= MAX ( 'Calendar'[Fiscal Week] )
)
)
Unfortunately, this measure is just running if a week is selected. It is not working with a currentMonth filter.
Do you know how to adjust this measure to get the WTD sales for the current week? Without a current week measure! I have also a MTD measure in the same matrix
@joshua1990
Can you share your table or matrix where you try to use this formula?
You mentioned about Report Page filter? which measure is going in there?
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Fowmy Thanks for your support!
The matrix has this structure:
Area | Sales WTD | Sales MTD |
A | 500 | 5000 |
B | 300 | 650 |
C | 250 | 357 |
The "IsCurrentMonth" measure is used to filter the whole page for the current month.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
21 | |
15 | |
15 | |
11 | |
7 |
User | Count |
---|---|
25 | |
24 | |
12 | |
12 | |
12 |