- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Converting 2 date columns and performing counts
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @SophRow ,
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @SophRow ,
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
01-19-2024 07:55 AM | |||
07-26-2024 02:17 PM | |||
05-21-2024 02:12 AM | |||
05-02-2024 10:01 AM | |||
11-01-2023 03:42 PM |
User | Count |
---|---|
123 | |
103 | |
84 | |
49 | |
46 |