Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Dear All,
I need your support for the below Case:
| q1 | q2 | q3 | q4 | total | |
| 1 | 1 | 1 | 1 | 1 | |
| Total | 1 | 1 | 1 | 1 | 1 |
Basically The value of Q is conisdered the last month of the Q but thsi formula is appleid also to subtotal.
What i woudl liek to work independently so expected subtotal in above case is 1+1+1+1=4
MAny Thanks,
Alex
Solved! Go to Solution.
Hi, @alexbalazsalex
Based on your description, I created data to reproduce your scenario.
You may create a calculated table as follows.
Dictionary Date = CALENDARAUTO( )
Here is the relationship between two tables.
Then you can create a measure as below.
total = SUMX(
SUMMARIZE(
'Dictionary Date',
'Dictionary Date'[Invoicing Date].[QuarterNo],
"total",
CALCULATE(
SUMX(
ALLSELECTED('Stock DB 3'),
'Stock DB 3'[Cost Impact]
),
LASTDATE('Stock DB 3'[Date])
)
),
[total]
)
Result:
If I misunderstand your thought, please show me your sample data and expected output. Do mask sensitive data before uploading. Thanks.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @alexbalazsalex
Hi, @alexbalazsalex
Based on your description, I created data to reproduce your scenario.
You may create a calculated table as follows.
Dictionary Date = CALENDARAUTO( )
Here is the relationship between two tables.
Then you can create a measure as below.
total = SUMX(
SUMMARIZE(
'Dictionary Date',
'Dictionary Date'[Invoicing Date].[QuarterNo],
"total",
CALCULATE(
SUMX(
ALLSELECTED('Stock DB 3'),
'Stock DB 3'[Cost Impact]
),
LASTDATE('Stock DB 3'[Date])
)
),
[total]
)
Result:
If I misunderstand your thought, please show me your sample data and expected output. Do mask sensitive data before uploading. Thanks.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 62 | |
| 50 | |
| 45 |