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 have data from a clinical trial that looks like this:
The visualistion looks like this:
As you can see it has autocalculated the total (107 events in the first example) - how do i create a measure to show this, so i can add to another visualisation for summary purposes, and also so i can sort the x axis by totals?
Thanks so much!
Soph
Solved! Go to Solution.
Hi @SophRow
You need to create a measure that sums the counts
COUNTA ( TableName[Column1] ) + COUNTA ( TableName[Column2] ) + COUNTA ( TableName[Column3] ) ... etc..
Hi,
Use below dax measure :
Hi,
Your data is not well structued. In the Query Editor, select the first 2 columns, right click and select "Unpivot Other columns". Now create your visual and write this measure
Participants = distinctcount(Data[Participant])
Hope this helps.
Hi,
Use below dax measure :
Hi @SophRow
You need to create a measure that sums the counts
COUNTA ( TableName[Column1] ) + COUNTA ( TableName[Column2] ) + COUNTA ( TableName[Column3] ) ... etc..
Hello how are you?
I didn't understand your question correctly.
Here's the example I created to see if it helps.
https://5pwtcn-my.sharepoint.com/:f:/g/personal/rodrigosan_5pwtcn_onmicrosoft_com/Ekk2Pvc89A9CoffLPi...
Did I solve your problem?
Please mark as solution so others can find this solution.
https://www.linkedin.com/in/rodrigosanpbi/
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 |
---|---|
144 | |
85 | |
65 | |
50 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |