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.
Hi,
I am trying to analyse a data set, below is the sample data
is it possible to get the count of a particular item ( slicer) and the total count of all the items for the order #?
What I am trying is to do is to add "Item" as slicer and I need to get the Count of selected item and the Total count of all the items in an Order #
for example if I add "Wire" in the slider the table should display the Count of selected Item as "1" and I need a measure to display the total count as "5" for the Order # as below
How do I create a measure to exclude the filter and show the Total count of all the items of an Order #
Kindly help to resolve this,
Regards,
Shyam.
Solved! Go to Solution.
Try:
Total count of items = CALCULATE (COUNT(Table[Item]), ALL(Table[Item]))
Proud to be a Super User!
Paul on Linkedin.
Hi @Skumaran
You didn't close your Count() function correctly.
CALCULATE(COUNT(Sheet3[Item]),ALL(Sheet3[Item]))
Hope it helps!
Kind regards,
OD
Hi, It works!!
Thank you very much!!
Try:
Total count of items = CALCULATE (COUNT(Table[Item]), ALL(Table[Item]))
Proud to be a Super User!
Paul on Linkedin.
Hi Paul,
Thank you for your response,
I tried as you suggested but it returned with an error,
Hi @Skumaran
You didn't close your Count() function correctly.
CALCULATE(COUNT(Sheet3[Item]),ALL(Sheet3[Item]))
Hope it helps!
Kind regards,
OD
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 | |
74 | |
63 | |
51 | |
47 |
User | Count |
---|---|
211 | |
85 | |
64 | |
59 | |
56 |