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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
CCK
Frequent Visitor

Include and have blank cells in the report in those instances where values are (null) values

Hi,

My paginated report does currently not include the following (null) values observed in the query designer in the report. I want the report to show the blank cells for the groups with (null) values in report. I have tried several solutions, but none of them seem to provide me with the intended results. In addition, I am fairly new to creating paginated reports, so please bear with me. 

 

Thank you in advance,

Anmærkning 2022-09-23 173027.png

3 REPLIES 3
CCK
Frequent Visitor

CCK
Frequent Visitor

Hi Henry,

Thank you for guiding me in right direction. I do, indeed, believe that the solution you are referring to is highly relevant for my request. However, I think that I am using an incorrect DAX syntax when I try to add to the existing Query underlying the data a filter(value(…) that should include both values and (null) values in the report.

 

I was therefore hoping that a stylized data example mimicking the actual data (the actual data is confidential) would make it easier for you to further elaborate on how to correctly incorporate the filter(value(…) formulas into the query.

So, the following DAX formula in the query designer:

 

EVALUATE SUMMARIZECOLUMNS('CALENDAR'[DATEFULL], FILTER(VALUES('RESULTS'[TEAM]), ('RESULTS'[TEAM] = "TEAM A") || ('RESULTS'[TEAM] = "TEAM B"), FILTER(VALUES('RESULTS'[AGE]), ('RESULTS'[AGE] = "CHILD") ||('RESULTS'[AGE] = "TEEN") || ('RESULTS'[AGE] = "ADULT"), "TODAY", [TODAY], "YESTERDAY", [YESTERDAY], "NUMBER", [NUMBER]),

 

yields the following data,

 

DATEFULLTEAMAGETODAYYESTERDAYNumber
26-09-2022TEAM AADULT2981
26-09-2022TEAM BADULT6871
26-09-2022TEAM ACHILD5921
26-09-2022TEAM BCHILD3751
26-09-2022TEAM ATEEN(null)(null)1
26-09-2022TEAM BTEEN(null)(null)1

 

The current report does not include the (null) values for “TEEN” in TEAM A and TEAM B. I want TEEN in TEAM A and TEAM B to be represented in the report, but with blank/empty cells. 

Than you in advance,

v-henryk-mstf
Community Support
Community Support

Hi @CCK ,

 

According to your description, you can refer to the following similar solution to display the value as empty by creating a dax.

Solved: Paginated Report Multivalue Parameter and DAX to i... - Microsoft Power BI Community


If the problem is still not resolved, please provide detailed error information and test data. Looking forward to your reply.


Best Regards,
Henry


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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.