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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi Community,
Can anyone help me on how i can caluclate data for first 3 month and data after the first 3 months,
Thank you inadvance,
Solved! Go to Solution.
@kdaya wrote:
Hi Community,
Can anyone help me on how i can caluclate data for first 3 month and data after the first 3 months,
Thank you inadvance,
You need a calendar table which has a rank column ranking by the Months of dates.
Then create two measures
top 3 values = SUMX( TOPN(3,'table',RELATED('calendar'[rank]),ASC),'table'[value]) after top 3 measures = SUM('table'[value])-[top 3 values]
See more details in the attached pbix file.
By the way, this is the demo all based on my assumption, to get more straightforward solution, you'll follow @Greg_Deckler's link.
@kdaya wrote:
Hi Community,
Can anyone help me on how i can caluclate data for first 3 month and data after the first 3 months,
Thank you inadvance,
You need a calendar table which has a rank column ranking by the Months of dates.
Then create two measures
top 3 values = SUMX( TOPN(3,'table',RELATED('calendar'[rank]),ASC),'table'[value]) after top 3 measures = SUM('table'[value])-[top 3 values]
See more details in the attached pbix file.
By the way, this is the demo all based on my assumption, to get more straightforward solution, you'll follow @Greg_Deckler's link.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.