Best Of
Re: Tagging Customers on Services
Here is the solution to your BLUF:
1. Use Group By tile in Magic ETL and the following formula: GROUP_CONCAT(DISTINCT CASE WHEN Treatment IN('Consult','Testing','Evals','Preop') THEN Name END)
You don't have a nurse identifier in your sample data so I added one called "Name"
Results:
This will show which nurses saw each patient. Let me know if this isn't what you're looking for.
For the patient count piece, you need to use COUNT(DISTINCT ) with a CASE statement:
COUNT(DISTINCT CASE WHEN Treatment IN('Consult','Testing','Evals','Preop') THEN Patient END)
For analyzing which nurses saw patients that led to surgery vs. no surgery, you could add a flag to every patient that led to surgery in Magic ETL as shown below:
Then create some kind of card in analyzer using this beastmode:
COUNT(DISTINCT CASE WHEN Had Surgery = 'true' THEN Patient END) / COUNT(DISTINCT Patient)
Result:
75% of patients John saw ended up in surgery, 67% of patients Jacob saw ended up in surgery.
Re: Governance DataSet - Scheduled Reports
Hi, @user064367 and @Michelle_C_Cameron - Thanks for the great feedback. As you may already know, this capability has been released! Please check out the "Scheduled Reports" and "Scheduled Report Recipients" reports in the DomoStats connector.
Please let us know if these reports still don't quite give you what you're looking for.
Thanks!
Re: Ability to sort Filter Views
Sorting is a bare minimum but I would like to add the ability to organize filter views in directories. We set filter views for different sale date ranges and I would love to able to sort them into folders by Year>period>filter view etc. to clean up the interface rather than have people scroll through a continuously expanding list.
Re: Get unique records from datasets
you're using confusing language sorry, it's not clear to me if you're asking for an UPSERT scheme which keeps only the most recent version of each row or if you're looking for a partition scheme where you only keep the block of data from the most recent month. OR if you're looking for a way to report if the value changed from one month to the next (slowly changing dimension).
I'm sprinkling in what may sound like jargon b/c they are 'terms-of-art' with 20 years of history each.
If you need UPSERT or Partitioning, you can look at a recursive dataflow pattern. https://www.youtube.com/watch?v=JNQFZCj8JcQ
The difference between UPSERT or Partitioning would just be how you define your RANK partition, do you make it at the granularity of one row, or month or folder_month.
if you need slowly changing dimensions, you still implement the RANK to get the row version number, but then you add a LAG function to get the value last period.
Re: Get rid of filter icons in app studio apps?
If you click on the page layout in an app, page settings will pop up in the right panel where you will see 'Filter Options'. You will be able to access these options after clicking on that option!


















