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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Date as Axis

Hi all,

I've been trying to have line chart with count of order per day Month, quarter, year but nothing seems to work when i add my dateCompleted metric as Axis.

 

i changed dateCompleted from date/time to date but nothing seems to be working. 

 

Can anyone help? 

 

I keep getting this.

Capture.PNG

 thanks, 

 

6 REPLIES 6
JarroVGIT
Resident Rockstar
Resident Rockstar

What is the aggregation applied to PoID? See below example.  Also, what is the data structure? Are you using a date table for the axis and a fact table for the values? Or are you using the DateColumn from the FactTable? 

image.png

 

Kind regards

Djerro123

-------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Keep those thumbs up coming! 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

I applied count to PoID and "dateCompleted" is part of the fact table. I wrote a query that has all the info that I need for my analysis. 

 

Thanks, 

HI @Anonymous ,

I think your date fields have link to other table dates field and they prevent the 'date intelligence' analytics on your date fields, right?

Auto date/time in Power BI Desktop 
If this is a case, I'd like to suggest you create a calendar table to link two tables to fix auto date intelligence feature, so that your value fields can be summarized by corresponding data hierarchy.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Anonymous
Not applicable

Hi @v-shex-msft ,

 

I am already using a calendar table and still have the same problem

HI @Anonymous,

Maybe you can try to add calculated columns to external correspond hierarchy date fields from date value, then you can use these calculated columns on axis fields to summary records.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hmm then there must be something else wrong. What you are trying to achieve is very basic functionality (visual, grouping variable X (count of PoID) by variable Y (Date). If the datecolumn of the fact table is marked as date time (which it does seem to be from the looks of your first post), this just should work. 

Is it possible to share your PBIX? You can also privately share it with me by sending me a link through PM, then I am sure I can sort this out for you 🙂

EDIT: you already mentioned that you weren't able to share your PBIX in another post. See my post here to see if that helps you any further (also on this issue).

 

Kind regards

Djerro123

-------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Keep those thumbs up coming! 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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