Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Paknanarn23
Creator II
Creator II

I want null data to show a value.

This is Mode data with no date selected. But KCEPart1 and Layer are selected and all data is displayed.

Paknanarn23_1-1699068718104.png

But when I select date KCEPart1 and Layer the data shows Null.

Paknanarn23_3-1699068793391.png


What I want is when the date is selected to show the mode information of KCEPart1 and Layer of another day, but the information is still of the same Part and Layer. What should I do?

This is my Mode code. I tried it. But the data is still not displayed correctly. please help me

=if(len(trim(aggr(NODISTINCT(Mode(Minimum_line_width)),KcePart1,Layer)))= '-', aggr(DISTINCT(Mode(Minimum_line_width)),KcePart1,Layer),aggr(NODISTINCT(Mode(Minimum_line_width)),KcePart1,Layer))

 

thank you

 

1 Reply
ajaykakkar93
Specialist III
Specialist III

Hi,

Option 1: Use this
 If(IsNull(Sum(Value)), 0, Sum(Value))

 

Option 2: Sum(Value) + 0

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting