Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Good Morning,
I have two card visuals both with filters on counting rows of data - is there a simple way to be able to sum these two visuals together on a new visual?
Would I need to use a measure for this?
I want to take visual A (count) + visual B (count) to create visual C (count) if it's easy and possible, suspect I'm missing something obvious! Basically adding two numbers together really,
Hope you can help!
Solved! Go to Solution.
Hi, write a simple dax measure = Count( column A ) + Count ( column B ). You are counting (referencing) columns in tables, not visuals. 🙂
Kudos and mark as solution appreciated.
Hi @pigsinblankets ,
Based on your description,
You might consider the following code to create a Measure.
My Sample:
Sum of Count1 = [CountA] + [CountB]
OR
Sum of Count2 = CALCULATE(COUNT('Table'[Category]),FILTER('Table','Table'[Category] = "A"))
+
CALCULATE(COUNT('Table'[Category]),FILTER('Table','Table'[Category] = "B"))
Result is as below.
Is this the result you expect?
For further details,please find attachment.
If I've misunderstood you, please provide detailed sample data and the results you are hoping for. We can better understand the problem and help you. Show it as a screenshot or excel. Please remove any sensitive data in advance.
Best Regards,
Yulia Yan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @pigsinblankets ,
Based on your description,
You might consider the following code to create a Measure.
My Sample:
Sum of Count1 = [CountA] + [CountB]
OR
Sum of Count2 = CALCULATE(COUNT('Table'[Category]),FILTER('Table','Table'[Category] = "A"))
+
CALCULATE(COUNT('Table'[Category]),FILTER('Table','Table'[Category] = "B"))
Result is as below.
Is this the result you expect?
For further details,please find attachment.
If I've misunderstood you, please provide detailed sample data and the results you are hoping for. We can better understand the problem and help you. Show it as a screenshot or excel. Please remove any sensitive data in advance.
Best Regards,
Yulia Yan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you I have followed this advice and resolved this problem 🙂 @v-weiyan1-msft @zenisekd
Hi, write a simple dax measure = Count( column A ) + Count ( column B ). You are counting (referencing) columns in tables, not visuals. 🙂
Kudos and mark as solution appreciated.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |