Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Jesh19
Creator II
Creator II

GetCurrentField() is not working

Hi All,

I'm having a cyclic group dimension.

Sales Channel Group - (DimSalesCluster_NoSM, DimSalesRegion_NoSM, DimSalesCountry_NoSM, DimSalesBranch_NoSM, DimSales_Person) which are labelled as (Cluster, Region, Country, Branch, Sales Person) respectively.

Now, when I'm trying to get the current field from Cyclic Group, it's showing me null.

I've tried all the below expressions,

=GetCurrentField ([Sales Channel Group]) // NULL

=GetCurrentField ('[Sales Channel Group]') // NULL

=$(=GetCurrentField ([Sales Channel Group])) // NULL

=$(=GetCurrentField ('[Sales Channel Group]')) // NULL


Could someone please do the needful.

Thanking in Advance,

Regards,

Jesh

12 Replies
sunny_talwar

So, there is space after Group? Try to remove it and then see if it works

Jesh19
Creator II
Creator II
Author

The issue is because of the space. There are 3 whitespaces after group name. I've removed them and tried the same.

It's working now.

Thanks a lot for your help Sunny.

Regards,

Jesh

sunny_talwar

Hahahaha, if I may ask... what was the reason for the extra spaces in the first place? and in general I would try to copy the same thing I have used in my actual file so that you can replicate the issue in a sample. Because you were using A, but showed me B... it took us more than usual to solve a very simple problem.

Anyways, I am glad we are behind it now.

Best,

Sunny