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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
antoinemicksls
Frequent Visitor

Simple Graphic with multiple Date values on X Axis of a graph non visible

Hi everybody,

 

I have a Power BI Report with 1 Excel files used as data source.

 

This data sources have 4 columns :

 

Ex : Data Source 1 :

1 > Date 1 (Data Source1)

2 > Date 2 (Data Source1)

3 > Date 3 (Data Source1)

4 > Index column

 

I create two simple visuals (1 Table view of my Data Set, I Graph using Data in X Axis) :

antoinemicksls_0-1662222553093.png

 

 

 

But when I put On X Axis,:

 

1 > Date 1 (Data Source1)

2 > Date 2 (Data Source1)

3 > Date 3 (Data Source1)

 

Elements into the following graphical visual : 

antoinemicksls_2-1662222616453.png

 

 

I use Drill Down to see element grouped by Year Month

antoinemicksls_1-1662222597025.png

 

If I click on a item of the table list view of my DataSet I am only able to see the filter on the first element of the Date 1 and I cannot view the items of Date 2 and Date 3

 

Is it possible to see values of Date 1, Date 2 and Date 3 Group By Year Month ? Please

 

I want to see items of Date 1, Date 2 and Date 3 Group By Year Month on X Axis when I click on an item on the table view list, but it not works well…

 

Have you got any ideas for it ? Please

 

Please find in attach the DataSource and the Power BI (PBIX file) have more informations,

 

Please change the datasource path with the attach file if you try to run the report,

 

Many thanks in advance,

 

Best regards,

 

Antoine MICK

1 REPLY 1
Ashish_Mathur
Super User
Super User

Hi,

You should select the Index column, right click on the column heading and select "Unpivot Other Columns".  Ensure that the  Value column is formatted as Date.  Now build a Calendar Table and create a relationship (Many to One and Single) from the Value column of the Data Table to the Date column of the Calendar Table.  Write calculated column formulas for Year, Month name and Month number.  Sort the Month name column by the Month number column.  To any visual/slicer/filter, drag Year, Month name from the Calendar Table.  Now create yoru visual.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.