Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Read about the latest Qlik Community enhancements on the Community News blog!
cancel
Showing results for 
Search instead for 
Did you mean: 
male_carrasco
Creator
Creator

can i use Class formula?

Can I use Class formula in sense?

1 Solution

Accepted Solutions
markodonovan
Specialist
Specialist

Hi Alejandra,

Please find my example attached.

Thanks

Mark

www.techstuffy.com

View solution in original post

6 Replies
markodonovan
Specialist
Specialist

Hi Alejandra,

Yes you can use the class function.  The image below was created with the following class function:

class(Discount*100,5,'value') as Discount%

class.jpg

Let me know if you would like more details.

Thanks

Mark

www.techstuffy.com

male_carrasco
Creator
Creator
Author

Thanks Mark!

Can i use in a chart like a dimension?


class(floor((Today()-HnuA08_Fecha_Nacimiento)/365.25),5,'Edad')

markodonovan
Specialist
Specialist

Hi Alejandra,

You should be able to use it in a chart dimension.

I'll try and attach my example.

Thanks

Mark

markodonovan
Specialist
Specialist

Hi Alejandra,

Please find my example attached.

Thanks

Mark

www.techstuffy.com

View solution in original post

markodonovan
Specialist
Specialist

Hi Alejandra,

Please find attached another example using a function similar to yours.

Thanks

Mark

www.techstuffybooks.com

male_carrasco
Creator
Creator
Author

Thanks Mark!