@Aayushi Solanki Thank you for your patience and I apologize for the delayed response!
You cannot get the three month’s data “separately” based on the query you submitted. Consider Query as an API where you are submitting a workload for execution – and timeframe is an easy moniker to translate the date range you are querying the data for.
You have to make “Custom” time frame based queries for specific months cost data.
Said that, I’m curious to understand your scenario and wonder if Query API is the right API pattern for your use case. Can you please share more context on what you are trying to accomplish?
----------------------------------------------------------------------------------------------------------------------
If the response helped, do "Accept Answer" and up-vote it