The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
Solved! Go to Solution.
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
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
User | Count |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |