Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowI have relative week numbers, and through scliers I have selected relative week. I want total sum of weeks from first week of quarter to selected week.
Please consider this is a fiscal week from Feb to Feb, and data is aggregate on weekly there is no any calendar table.
1. I have data of sales for every week. I am using fiscal calendar which start from Feb and ends at Feb.
Data contains Fiscal Quarter, Fiscal week, Fiscal Week Relative and Total sales. (Shown in attached table)
Fiscal week Relative column contains from today to previous week's.like current week has -1, last week has -2, last to last week has -3 etc.
2. Filters - I have one scliers which has Fiscal week Relative. And user has selected week -13.
3. Expected output - I want sum of QTD of selected week.
- User has selected week -13, and quarter starts from week -11. So I want sum of sells from week -11,-12 and -13 which is my selected week from Slicer.
- User can select any week so I want QTD from start of week to selected week.
Please suggested Dax to calculate Total sells of QTD (start week of quarter to selected week). Solution should be dynamic user can select any week.
@rohanghule12 Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
24 | |
15 | |
13 | |
12 | |
8 |
User | Count |
---|---|
30 | |
22 | |
15 | |
14 | |
14 |