Forum Discussion
rkee10
2 years agoFrequent Visitor
Grouping of Questions to Create Category
Is it possible to create a report from a list of questions wherein it will group the type of questions as categories? For example, i have these questions: - What is a guitar - Guitar - define ...
- 2 years ago
Hi rkee10
If my understanding is correct then here are the step, to achieve what you have you need to create two custom column
First column
NewColumn =VAR Sentence = 'Table'[Sentence]VAR WordList =SELECTCOLUMNS(UNION(ROW("Word", "guitar"),ROW("Word", "cook")-- Add more words here as needed),"Word", [Word])VAR FoundWords =FILTER(WordList,CONTAINSSTRING(Sentence, [Word]))RETURNCONCATENATEX(FoundWords, [Word], ", ")Second column:
CountColumn =CALCULATE(COUNTROWS('Table'),FILTER('Table', 'Table'[NewColumn] = EARLIER('Table'[NewColumn])))Here is below output for the sameDid I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: www.youtube.com/@HowtosolveprobemRegards
qqqqqwwwweeerrr
Solution Sage
2 years agoHi rkee10
What is expected output say you want to create a category column, based on given key words?
rkee10
2 years agoFrequent Visitor
Yup, based on given keywords.