Forum Discussion
Measure Trouble with Percent Total
Hi all,
I’m been struggling with this and would be ridiculously appreciative for any guidance.
I have a table RequestMetrics with Column METER_NAME. METER_NAME has the format $REQUESTNAME_$SUCCESSORFAILTYPE_COUNT.
RequestMetrics
My goal is to get a Current Filtered % for each request type and compare it to a Historical %.
Historical I’ve achieved with below measures (for something like AOTSCREATETKT, it’s 21% DATA_NOT_FOUND, 10% FAILURE, 68% SUCCESS)
DashboardTable
For the Current Filtered %, I want it to respond to the date, time, system, server filters on the page.
The numerator, FILTERED MEASURE COUNT BY NAME, seems ok. The denominator, FILTERED MEASURE COUNT BY BASE, does not work.
I’ve tried a number of ways. If I create a separate table with $REQUESTNAME keys (AOTSGETTKT, AOTSCREATETKT, etc), it displays correctly on its own. If I add it as a column to above table or try to calculate the percentage, it doesn’t work.
tldr – I need, for example, AOTSCREATETKT_DATA_NOT_FOUND_COUNT + AOTSCREATETKT_SUCCESS_COUNT + AOTSCREATETKT_FAILURE_COUNT and have it be responsive to the dashboard slicers.
Here's a screenshot of related RequestLookup table
RequestLookup
Thank you! – Dan
2 Replies
- AnonymousNot applicable
Hi whoopsy ,
I think your calculation is based on your data model. Please share a sample file with me and show me a screenshot with the result you want. This will make it easier for me to find the solution.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- whoopsyNew Member
Rico,
Thank you so much for your reply.
Here is the ultimate result I'm shooting for - only achieved here by cheating. I want to take the difference between the filtered rate (FILTERED MEASURE COUNT BY NAME/FILTERED MEASURE COUNT BY BASE) to an overall historical rate (HISTORICAL COUNT BY NAME/HISTORICAL COUNT BY BASE) to flag failures/success that differ greatly from the baseline historical rate.
Here are the sample RequestMetric with related tables RequestLookup and RequestBaseLookup. Thanks again as I'm hard stuck at the moment.
RequestMetric
RequestLookup
RequestBaseLookup
- Dan