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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Sudhavi_84
Helper V
Helper V

Dax Measure

I have a list of Projects( Comes from Table), Date (Created Measure), Total Value(Created Measure).

I  am trying to make this Table in to Clustered Column Visual, but for some reason, Date Measure is not coming to Axis Category.

I want Dates on Horizontal(X Axis) and Projects on Vertical (Y Axis) and Total in Values.

But for some reason Date measure is not allowing me to move in to X Axis. Please may I know how can I acheive this?

 

 

 

 

2 ACCEPTED SOLUTIONS

@Greg_Deckler , Thank you for the response.

 

How can I achieve this one. do we have any other way to fix this?

 

All I have is list of projects which are having different dates with different values in Current year. I need to sum all the values. I have to sum it and show with the Minimum date in the Clustered column visual.

 

For example

 

I have this Table

videesh_0-1621608899861.png

 

 

I created this below table using mesaures

videesh_2-1621609008373.png

 

 

My aim is to provide Clustred column chart

Dates in X axis and Values in Y Axis and Projects in Column.

 

Please any help, any other way to acheive this?

 

 

View solution in original post

@Sudhavi_84 Well, you could create a column like this perhaps:

Earliest Date Column =
  MINX(FILTER('Table',[Project]=EARLIER('Table'[Project])),[Date])

Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

7 REPLIES 7
Sudhavi_84
Helper V
Helper V

Thank you @Greg_Deckler 

Greg_Deckler
Super User
Super User

@Sudhavi_84 You cannot use a measure in an Axis.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler , Thank you for the response.

 

How can I achieve this one. do we have any other way to fix this?

 

All I have is list of projects which are having different dates with different values in Current year. I need to sum all the values. I have to sum it and show with the Minimum date in the Clustered column visual.

 

For example

 

I have this Table

videesh_0-1621608899861.png

 

 

I created this below table using mesaures

videesh_2-1621609008373.png

 

 

My aim is to provide Clustred column chart

Dates in X axis and Values in Y Axis and Projects in Column.

 

Please any help, any other way to acheive this?

 

 

@Sudhavi_84 Well, you could create a column like this perhaps:

Earliest Date Column =
  MINX(FILTER('Table',[Project]=EARLIER('Table'[Project])),[Date])

Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Thanls @Greg_Deckler , I will try this and will let you know.

@Sudhavi_84 
Is there a particular reason you want to use the minimum date showing the total value for each project?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Not really but that was the requirement:-)

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.