Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Sxbbb
Creator III
Creator III

I want add Value '0' to SampleNo .

I use code

Suchanan_0-1675736006102.png

result

Suchanan_1-1675736054722.png

This is Field SampleNo 

Suchanan_2-1675736152773.png

I want add Value '0' to SampleNo and 

Bring workoder to connect SampleNo which has added 0 .
I use the code but it gives error.

Suchanan_3-1675736978029.png

 

 

 

17 Replies
Sxbbb
Creator III
Creator III
Author

Suchanan_0-1675744075715.png

but always want to add WorkOrder&'-'&0 =0 .

 

Sxbbb
Creator III
Creator III
Author

WorkOrder&'-'&SampleNo always has a value in field = MeasurementValue .
Sxbbb
Creator III
Creator III
Author

I use Code 

=if(Dim = 1,[WorkOrder] &'-'& SampleNo, [WorkOrder]&'-'&0)

Result 

Suchanan_0-1675755863248.png

I want each MeasurementValue of MeasurementNo of [WorkOrder]&'-'&0 to be equal to 0.

Suchanan_1-1675756277204.png

 

Want a value equal to 0
 
MayilVahanan

Hi

Measure would be

=if(Dim = 1, ur original measure, 0)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Sxbbb
Creator III
Creator III
Author

The resulting value of [WorkOrder]&'-'&0.

Suchanan_0-1675758564359.png

 

MeasurementNo1 use code 

Suchanan_1-1675758612642.png

 

But the value [WorkOrder] &'-'& SampleNo came out correct.

Suchanan_2-1675758915309.png

 

Want [WorkOrder]&'-'&0 value came out correct

Sxbbb
Creator III
Creator III
Author

I did it, thank you very much everyone.
Sxbbb
Creator III
Creator III
Author

But I have used it to make Line Chart. 

Suchanan_0-1675761339200.png

The value of [WorkOrder]&'-'&0 equals 0.

 

Why doesn't the line descend to 0?
 

 

Sxbbb
Creator III
Creator III
Author

I Sort the chart, why not in ascending order?

 

Sxbbb_0-1676364010916.pngSxbbb_1-1676364081109.png

should be sorted

A0172434-01-0

A0172434-01-1

A0172434-01-2

A0172434-01-3

A0172434-01-4

A0172434-01-5

A0172434-01-6

Sxbbb_2-1676364383238.png