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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Hippocampus
Frequent Visitor

Roll-up view

Hi all. I would like a roll up view like below: 

Hippocampus_0-1682505451637.png

Now I have written this dax script: 

 

RollupTable = 
    SUMMARIZE (
        costprice_history,
        ROLLUP (
            dimdate[FiscalYear],
            dimdate[CalendarQuarterNumber],
            dimdate[CalendarWeekNumber],
            dimdate[DateKey]
        ),
    "RowCount", COUNTROWS (costprice_history)

 

The output of the visualize matrix is like this:  

Hippocampus_1-1682505876997.png

 

I would appreciate any help on how to achieve the roll up view that i posted.
1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @Hippocampus 

 

Is this the result you expect?

vzhangti_0-1682664951976.png

Please check the attachment.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors