Forum Discussion
Marcus-G
3 years agoFrequent Visitor
(Looking For Help) Merging Qualifiable Data for Counts in Report View
I am writing this as I am fairily new to Power BI and was tasked with creating some reporting with my companies data and I was wondering if I could have someone give me some quick pointers on this is...
- 3 years ago
Hi, Marcus-G ;
You could create a measure by dax.
totalcount = CALCULATE(COUNT('Table'[Cookie 1]),'Table'[Cookie 1]="Choco")+ CALCULATE(COUNT('Table'[Cookie 2]),'Table'[Cookie 2]="Choco")+ CALCULATE(COUNT('Table'[Cookie 3]),'Table'[Cookie 3]="Choco")The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
HotChilli
3 years agoCommunity Champion
You have 2 options to keep things simple:
write a measure to count the values in each 'cookie' column i.e. you combine the resuts for each column
or
UnPivot the 'Cookie' columns in Power Query and you'll have one column to write a measure or drag on to a visual to use default aggregations