Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Abevann
Helper III
Helper III

Can't see all the months in a graph

Guys, I guess is a simple question,

 

I did a graph time vs amount and seems fine when I have values for all months:Continuous data.gif

 

Nevertheless once I filter a specific person,  the graph doesn't display all months, only the ones that have any value:

Non continuous data.gif

This way looks very confusing, because it seems that sales go fine all the year, but the thing is that fabruary, march, may, june and october are not in the graph. So I would like to see continous time even more if there is no value in the same way than the first graph. How to do so?

I already tried Show elements with no data, but made it worse: 

With show all elements.gif

It unfilter everything and shows all the months in the stored data, time filter doesn't work anymore, so didn't help.

 

Thanks a lot!

5 REPLIES 5
Anonymous
Not applicable

Hi @Abevann ,

As @AlexisOlson suggested, you can create a date dimension table (if you don't have one), put the date field of that date dimension table on the X axis of your visual. Then see if you can get what you want.

yingyinr_1-1634032131628.png

If the above setup does not give you the results you are looking for, can you please provide the following information.
1. How did you set your visual? Could you please share the setup of the Fields panel and some sample data for those fields referenced by your visual. Are these fields all from the same fact table? If not, please provide the corresponding relationship information.

yingyinr_2-1634032174409.png

2. Please provide its formula if there is any measure

3. What is the data type of the field placed on the X-axis of your visual? 

Best Regards

Hi @Anonymous,

 

1. Here is the bar graph setup:

Abevann_1-1634049517878.png

Abevann_0-1634050997072.png

 

2. Here are the formulas, and all fields are from the same table (admDocumentos):

Doc vent sin canc MXN y USD = [Doc vent sin canc MXN en USD] + [Doc vent sin canc en USD]
Doc vent sin canc MXN en USD = DIVIDE([Doc vent sin canc en MXN], AVERAGE(admDocumentos[Tipo de cambio diario]), 0)
Doc vent sin canc en MXN = SUM(admDocumentos[Doc vent en MXN]) - [Doc canc vent en MXN]
Doc vent sin canc en USD = SUM(admDocumentos[Doc vent en USD]) - [Doc canc vent en USD]
Doc canc vent en USD = (CALCULATE(SUM(admDocumentos[Doc vent en USD]), FILTER(admDocumentos, admDocumentos[CCANCELADO] = 1)))
Doc canc vent en MXN = (CALCULATE(SUM(admDocumentos[Doc vent en MXN]), FILTER(admDocumentos, admDocumentos[CCANCELADO] = 1)))
Sample:
FechaDoc vent sin canc MXN y USDDoc vent sin canc MXN en USDDoc vent sin canc en USDDoc vent sin canc en MXNDoc vent en USDDoc vent en MXNDoc canc vent en USDDoc canc vent en MXN
04/01/2021 00:00$285.80$285.80$0.00$5,690.00$0.00$5,690.00  
14/04/2021 00:00$1,021.09$1,021.09$0.00$20,496.90$0.00$20,496.90  
28/07/2021 00:00$3,944.00$0.00$3,944.00$0.00$3,944.00$0.00  
21/09/2021 00:00$757.50$0.00$757.50$0.00$757.50$0.00  
 
3. On axis is date (from date table), and I'm looking for monthly and yearly resolution
 
Thanks a lot, regards,
Abelardo


AlexisOlson
Super User
Super User

Are you using a calendar date dimension table for your x-axis?

 

Is your x-axis Type set to categorical or continuous?

AlexisOlson_0-1633711170260.png

 

I look for this configuration but there is no such an option (type) on the menu:

Formato.gif

Hi @AlexisOlson,k

 

Sorry I missed the first question, I have a date dimension table:

Abevann_1-1634051351931.pngAbevann_2-1634051429753.png

 

Correction; I change the date field to date table:

Abevann_3-1634056426262.png

 

Nevertheless now there is no hierarchy and the information is splited by day; I tested both continous and categorical, 

Abevann_4-1634056936842.png

Abevann_5-1634057122290.png

 

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.