Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a table that looks like this:
If there is a date present in '2. Date of Informed Consent' it means a patient was enrolled (this will always be the case)
If there is a date present in 'Randomisation Date' is means the patient was randomised (this won't always be the case)
I want to create a visualisation that shows the number enrolled and randomised by date as well as provide the running totals. Like this (ignore the expected enrolled line)
Please help!
Thanks,
Soph
Solved! Go to Solution.
Hi @Anonymous ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create measures.
enrolled = COUNTA('Table'[2. Date of Informed Consent])
randomised = COUNTA('Table'[Randomisation Date])
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create measures.
enrolled = COUNTA('Table'[2. Date of Informed Consent])
randomised = COUNTA('Table'[Randomisation Date])
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Data needed. Please provide representative data. You can't attach files but you can place a file on a shared drive and paste a link to it here. Don't forget to assign proper access rights.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
69 | |
68 | |
40 | |
29 | |
26 |
User | Count |
---|---|
88 | |
49 | |
45 | |
38 | |
37 |