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
ahmadibrahimbus
Resolver III
Resolver III

Paginated Report Power BI

How can i use addmissingitem with the below dax in paginated report query.

EVALUATE SUMMARIZECOLUMNS('Project_Dates'[WE_Date], 'EWP Overall'[Status_order], 'EWP_Status_Colors'[fgColor], 'EWP_Status_Colors'[bgColor], 'Projects'[project_name], RSCustomDaxFilter(@Projectsprojectid,EqualToCondition,[Projects].[project_id],String), RSCustomDaxFilter(@Projectsprojectname,EqualToCondition,[Projects].[project_name],String), RSCustomDaxFilter(@EWPOverallAreafromEWP,EqualToCondition,[EWP Overall].[Area from EWP],String), RSCustomDaxFilter(@CWPOverAllCriticalityNew,EqualToCondition,[CWP_Over_All].[Criticality_New],String), RSCustomDaxFilter(@Query1TodayDate,EqualToCondition,[Query1].[Today Date],String), FILTER(VALUES('Project_Dates'[Dates Slicer]), ('Project_Dates'[Dates Slicer] = "Focus")), "count_Status_order", [count_Status_order])

Thanks for your help.

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

Hi @ahmadibrahimbus 

 

As a starting point you could try the below code.

This assumes that you want to use the five GroupBy columns as ShowAll/GroupBy columns in ADMISSINGITEMS.

(I've formatted with DAX Formatter)

EVALUATE
ADDMISSINGITEMS (
    'Project_Dates'[WE_Date],
    'EWP Overall'[Status_order],
    'EWP_Status_Colors'[fgColor],
    'EWP_Status_Colors'[bgColor],
    'Projects'[project_name],
    SUMMARIZECOLUMNS (
        'Project_Dates'[WE_Date],
        'EWP Overall'[Status_order],
        'EWP_Status_Colors'[fgColor],
        'EWP_Status_Colors'[bgColor],
        'Projects'[project_name],
        RSCUSTOMDAXFILTER (
            @Projectsprojectid,
            EqualToCondition,
            [Projects].[project_id],
            String
        ),
        RSCUSTOMDAXFILTER (
            @Projectsprojectname,
            EqualToCondition,
            [Projects].[project_name],
            String
        ),
        RSCUSTOMDAXFILTER (
            @EWPOverallAreafromEWP,
            EqualToCondition,
            [EWP Overall].[Area from EWP],
            String
        ),
        RSCUSTOMDAXFILTER (
            @CWPOverAllCriticalityNew,
            EqualToCondition,
            [CWP_Over_All].[Criticality_New],
            String
        ),
        RSCUSTOMDAXFILTER (
            @Query1TodayDate,
            EqualToCondition,
            [Query1].[Today Date],
            String
        ),
        FILTER (
            VALUES ( 'Project_Dates'[Dates Slicer] ),
            ( 'Project_Dates'[Dates Slicer] = "Focus" )
        ),
        "count_Status_order", [count_Status_order]
    ),
    'Project_Dates'[WE_Date],
    'EWP Overall'[Status_order],
    'EWP_Status_Colors'[fgColor],
    'EWP_Status_Colors'[bgColor],
    'Projects'[project_name]
)

Does this give you the expected result?

 

Regards,

Owen


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

1 REPLY 1
OwenAuger
Super User
Super User

Hi @ahmadibrahimbus 

 

As a starting point you could try the below code.

This assumes that you want to use the five GroupBy columns as ShowAll/GroupBy columns in ADMISSINGITEMS.

(I've formatted with DAX Formatter)

EVALUATE
ADDMISSINGITEMS (
    'Project_Dates'[WE_Date],
    'EWP Overall'[Status_order],
    'EWP_Status_Colors'[fgColor],
    'EWP_Status_Colors'[bgColor],
    'Projects'[project_name],
    SUMMARIZECOLUMNS (
        'Project_Dates'[WE_Date],
        'EWP Overall'[Status_order],
        'EWP_Status_Colors'[fgColor],
        'EWP_Status_Colors'[bgColor],
        'Projects'[project_name],
        RSCUSTOMDAXFILTER (
            @Projectsprojectid,
            EqualToCondition,
            [Projects].[project_id],
            String
        ),
        RSCUSTOMDAXFILTER (
            @Projectsprojectname,
            EqualToCondition,
            [Projects].[project_name],
            String
        ),
        RSCUSTOMDAXFILTER (
            @EWPOverallAreafromEWP,
            EqualToCondition,
            [EWP Overall].[Area from EWP],
            String
        ),
        RSCUSTOMDAXFILTER (
            @CWPOverAllCriticalityNew,
            EqualToCondition,
            [CWP_Over_All].[Criticality_New],
            String
        ),
        RSCUSTOMDAXFILTER (
            @Query1TodayDate,
            EqualToCondition,
            [Query1].[Today Date],
            String
        ),
        FILTER (
            VALUES ( 'Project_Dates'[Dates Slicer] ),
            ( 'Project_Dates'[Dates Slicer] = "Focus" )
        ),
        "count_Status_order", [count_Status_order]
    ),
    'Project_Dates'[WE_Date],
    'EWP Overall'[Status_order],
    'EWP_Status_Colors'[fgColor],
    'EWP_Status_Colors'[bgColor],
    'Projects'[project_name]
)

Does this give you the expected result?

 

Regards,

Owen


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.