Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
Someone have a good material to help me to understand Set Analysis?
I was looking this forun and found some codes that i dont understant like:
Count(DISTINCT {$<CommercialSite = {"=$(variable1) > 0 and $(variable2)>0"}>} [CommercialSite])
or
Sum({$<[Fiscal Year]={"$(=Only([Fiscal Year]))"}, [Fiscal Period]>} [Sales])
When i use {}, <>,[], $?
Why put some equation between " " ?
Thank you
Check this PDFalso
You should definitely have a look at this:
http://help.qlik.com/en-US/sense/3.1/Content/Videos/Videos-set-analysis-introduction.htm
and this too is a good reference:
Furthermore three is a website that helps you put together a Set Analysis:
Set Analysis Wizard for QlikView (it is equally valid for Qlik Sense as QlikView and Sense share the same engine)
A quick explanation of the two expressions:
Count(DISTINCT {$<CommercialSite = {"=$(variable1) > 0 and $(variable2)>0"}>} [CommercialSite])
means: Give me a count of the distinct values in the field CommercialSite based on the rows that are satisfied by the condition (variable1>0 and variable2>0).
Sum({$<[Fiscal Year]={"$(=Only([Fiscal Year]))"}, [Fiscal Period]=>} [Sales])
means: Give me the sum of Sales for Fiscal Year if only a single Fiscal Year value is selected and use values for that Fiscal Year. Disregard any selections made for Fiscal Period which means that all Fiscal Periods should be part of the sum.
The last expression contains an error since it has [Fiscal Period] without a follwing equals sign that it most probably should have.
Check this PDFalso
Hi Peter!
Thank you so much for the help
I was seeing your links and unfortunately 2 of them are not working:
http://help.qlik.com/en-US/sense/3.1/Content/Videos/Videos-set-analysis-introduction.htm
502 - Web server received an invalid response while acting as a gateway or proxy server.
About what the expression does, i understand, but if i need to write then i'll be completely lost where to put <> and {}.
The other links opened very well and i already start to study, again thank you
Actually if you never got any training or haven't read a good book about Set Analysis then looking at these expressions is a bit too much. It is not easy to explain it in a few words in a short answer. You should look at the simpler examples of Set Analysis and then progress into the more advanced features gradually.
Well to explain the basic syntax with the special symbols:
http://q-on.bi has a very advanced online course for Set Analysis which is highly recommended. But most people would be best off studying Set Analysis and using it too before they take this course.
Lak, this material was just awesome!
I think now i understand.
Thank you
I think one of the best place to start would be this
And then follow some of the links available in the above blog and go through all of them. Another good one would be this one
For dates, you can check this out
Hey Petter!
I read the lakshmikandh material, took half day but i think that now i understand the concept.
And your explanation corroborated with material, so i'm more confident about set analysis.
Thank you !
Hey Sunny, thank you for always help me friend!
Your always welcome. I would say any topic that you want to learn about, start with HIC's blog and then you will have a good starting point and then start exploring more and more