Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
stha142020
Contributor
Contributor

See dimensions with nullvalue measure in table

Hi,

Qlik tables hides dimension rows with nullvalue measures by default:

IDSum(Sales)
1100
250
510
650

 

Is there a way to display all dimensions regardless of measures?

IDSum(Sales)
1100
250
3-
4-
510
650


And I want to be able to select ID's:

IDSum(Sales)
1100
3-


Thanks!

3 Replies
Vegar
MVP
MVP

You need to get all desired IDs into your datamodel somehow. Consider this script.

Data:
LOAD *

inline [
  ID, Sales
  1, 100
  2, 50
  3
  4
  5,10
  6, 50
];

You will be able to select any ID and it will give you this output using ID and Sum(Sales)

Vegar_0-1629447843434.png

 

stha142020
Contributor
Contributor
Author

Hi,

Thanks for the reply!

The ID's and Sales are in two different tables in my datamodel.
They are to big to be merged.




Vegar
MVP
MVP

Thats ok, it should work as well. 

SalesData:
LOAD *
inline [
ID
1
2
3
4
5
6];

SalesData:
LOAD *

inline [
  ID, Sales
  1, 100
  2, 50
  5,10
  6, 50
];

 

Make sure you got the i "Include zero values" checked in the property pane. Vegar_0-1629227106481.png