Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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

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!