Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
surtex
Contributor III
Contributor III

Data Quality Check between Dimensions (Show me Dimension if you have no entry in..)

Hey Members,

i would like to show in the subtitle of a table, which Cost_Element are not included.

In the data editor i have two tables (mapping with Cost_Element):

1) Fact Table: Cost_Element and other informations

2) Mapping Table: Cost_Element and Kostenart1 and Kostenart2

Now the formula should give me the Cost_Element's which have no data in Kostenart1.

 

Formula like the following are not working:

If(Count(Distinct Cost_Element) - Count( {<Kostenart1 = {"*"}>}Distinct Cost_Element)>0, Cost_Element)

If(IsNull(Kostenart1),Cost_Element)

....

 

Can someone help me please?

Thanks and regards

surtex

 

Labels (1)
3 Replies
Clement15
Partner - Specialist
Partner - Specialist

Hello, would you like to have a formula that shows you the Cost_Element when Kostenart1 is null? IF this is the case you can use this formula.

if(len(Kostenart1 )<>0,Cost_Element )

surtex
Contributor III
Contributor III
Author

Yeah i would like to show the Cost_Elements, which have no data in Kostenart1 but your formula doesn't work for me. Additional information: Table 2 (Mapping Table) has 125 Cost Elements which have all data in Kostenart1. Table 1 (Fact Table) has 128 Cost Elements. The tables are mapping about the keyword Cost_Element. So I should have 3 Cost Elements displayed..

Clement15
Partner - Specialist
Partner - Specialist

I guess this won't work for you either?

if(len(Kostenart1 )=0,Cost_Element )

Otherwise you can take inspiration from this code to create a Flag allowing you to know if there is a Kostenart1 linked.

Clement15_0-1710500438041.png