The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi, I am simply trying to get a count of customers to show the same as the parent line. Below is what I have. What I want to have happen is every customer number below ID 6 to be equal to 16 instead of 1. The same thing would apply to all the other IDs as well. So ID 2 would have every customer number below it as 74 for example.
Hi @LostPBIUser ,
Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information and description to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Hi @LostPBIUser ,
Try this measure:
=
CALCULATE ( [Customer Count], ALLEXCEPT ( data, data[ID] ) )
This calculates the count of customers per ID.
Proud to be a Super User!
That didn't work. It still shows '1' for each individual customer id when expanded on. I need for it to show '16' on each individual customer.
Hi @LostPBIUser ,
It should work unless there are peculiarities in your model that makes it not work or you're using the wrong columns. Please see sample pbix.
Proud to be a Super User!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
115 | |
81 | |
81 | |
48 | |
41 |
User | Count |
---|---|
149 | |
110 | |
66 | |
64 | |
56 |