Dashboards & Visualizations

How to create a Stacked Bar Chart for the category of month and week together?

Bbyers3
New Member

So I have a question on how to report on multiple Categories.
I want it so the Graph has like below. In my table, I have the fields

Month ( 1 through 12)
Week (1 through 52)
platform (Virtual / Physical)

::: = Physical
--- = Virtual

Jan: Week1 (::::::::::::::::::::::::::::)(----------------------)
: Week2 (::::::::::::::::::::)(---------------------)
: Week3 (:::::::::::::::::::::::::::::::::::)(----)
: Week4 (:::::::::::::::::::::::::::::::::::::::)(-----------------------)

I am using this search below, and it works perfectly for either Week or Month but not both.

| dbxquery query="SELECT * FROM \"ESAO\".\"dbo\".\"CST.provisioning\" where Year = Year(GETDATE())" connection="ESAO_DB" | chart count Over Week by platform
0 Karma

P_vandereerden
Splunk Employee
Splunk Employee

Better late than never:

This needs more information on what you consider month and week boundaries. Does "January, Week 1" mean the first 7 days of January, January 1st to the last day of the week (e.g. Saturday), or the Sunday before January 1st, to the following Saturday?

When you say by week and month together, do you just want a label for the month in front of the 52 weeks?  

Paul van der Eerden,
Breaking software for over 20 years.
0 Karma
Get Updates on the Splunk Community!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...