Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
hitha1512
Creator
Creator

Generating data in Bar chart or backend

Hi Team,

I am calculating availability of Devices. On selecting one device i get the below data. Is there a way i can populate 100%  for months this device has no data on ? provided my entire data set starts from June 2022.

June - 100% , July - 93.03% (as displayed below), August- 100% , Sep - 100% and so on 

hitha1512_0-1676404143106.png

 

1 Reply
edwin
Master II
Master II

this means there are no records associated to the selected dates.  you can force a measure ignoring the device.  

if(count(Device)=0, sum({<Device=>}1), sum(Measure))

if Device is the selected device, and sum(Measure) is your expression.  this means if there are no devices for the month, return sum(1) ignoring selected Device, else - normal expression