Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Get the first value of each month

Hi all, 

 

I have a card componant that show the credits available for each user by month. 

For exemple, each month, i have 8 credits allocated. But the available credits information are on a reservation table. It makes the allocated credit per month duplicated for each reservation. 

 

I would like to SUM the allocated credits into a Card componant by Month but with a distinct like the first row of each month. 

Here's an exemple of what i need. 

Jeados_0-1656522126887.png

 

I would like to get only 1 value per month and sum it 

 

How can i do this ? 

 

 

Thanks 

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous , I believe this measure will do the trick:

Monthly Allocated Credits = 
    SUMX(
        SUMMARIZE(
            'YourTable'
            ,'YourTable'[Month]
            ,'YourTable'[Allocated Credit Per Month]
        )
        ,'YourTable'[Allocated Credit Per Month]
    )

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@Anonymous Thanks for the summarize measure ! It works perfectly 

Anonymous
Not applicable

@Anonymous , I believe this measure will do the trick:

Monthly Allocated Credits = 
    SUMX(
        SUMMARIZE(
            'YourTable'
            ,'YourTable'[Month]
            ,'YourTable'[Allocated Credit Per Month]
        )
        ,'YourTable'[Allocated Credit Per Month]
    )
vapid128
Solution Specialist
Solution Specialist

sumx(values([Month], calculate(max([Allocated credit per month]))

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.