Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I need to show the data Show Data in Matrix until last date in the last year . I need in this format, because is important at the analysis moment to compare name with only the last date
Hi,
I am not sure if I understood your question correctly, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your dataset.
Qty sum: = 
SUM( Data[Qty] )
Only show when the last month is not blank: =
VAR _thelastmonth =
    CALCULATE (
        MAX ( Data[Month-Year] ),
        INDEX (
            -1,
            ALL ( 'Month'[Month-Year], 'Month'[Month end date] ),
            ORDERBY ( 'Month'[Month end date], ASC )
        ),
        REMOVEFILTERS ( Customer[Customer] )
    )
VAR _thelastmonthqty =
    CALCULATE (
        [Qty sum:],
        FILTER ( ALL ( 'Month' ), 'Month'[Month-Year] = _thelastmonth )
    )
VAR _condition =
    NOT ISBLANK ( _thelastmonthqty )
RETURN
    IF (
        HASONEVALUE ( Customer[Customer] ),
        [Qty sum:] * DIVIDE ( _condition, _condition )
    )
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
            | User | Count | 
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 3 | 
| User | Count | 
|---|---|
| 24 | |
| 11 | |
| 10 | |
| 9 | |
| 8 |