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 am trying to summarize some data that is set out as follows
I wannt to show the number of tasks for each person and also what the worst [Due Status] is for each person. So for example Person A has 4 tasks and the worst [Due Status] is 'Overdue'. I have done this by adding a calculated column [Rank] and then creating a new table using the following DAX
Summary = 
ADDCOLUMNS(
    SUMMARIZE(
        'Table1',
        Table1[Person],
        "Number of tasks", CALCULATE(COUNTROWS('Table1'))
    ),
    "Status",
        CALCULATE (
            SELECTCOLUMNS (
                TOPN ( 1, 'Table1', 'Table1'[Rank] ),
                "val", 'Table1'[Due Status]
            )
        )
)
There is one extra bit I am stuggling with. That is also adding a column that counts the number of times the worst [Due Status] appears.
For example:
Solved! Go to Solution.
Hi @Anonymous ,
if you create additional calculated column and/or calculated table, your model becomes slow performing.
See my pbi file. I have used a small snapshot table for the ranking.
https://1drv.ms/u/s!Aj45jbu0mDVJi2GypBfgxC2_wMkd?e=Ca9qyB
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
What is th definitition of "worst due status"?
Hi @Anonymous ,
if you create additional calculated column and/or calculated table, your model becomes slow performing.
See my pbi file. I have used a small snapshot table for the ranking.
https://1drv.ms/u/s!Aj45jbu0mDVJi2GypBfgxC2_wMkd?e=Ca9qyB
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
please provide the sample data in usable format, not as a screenshot.
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.