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

TOTAL PER MONTH

Hello

I want to show in a report the total loads per month

I have this table

 

FECHA                      valor

02/02/2021               52

05/02/2021               69

04/03/2021               70

09/03/2021               32

 

I want to show the values ​​by month by measures or columns

 

MONTH                VALUE

Frebruary              121

March                   102

 

could you help me?

Thank you

 

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Based on your sample data, I created a sample under DQ mode, then

1.  create a new table 

vxiaotang_1-1628155467774.png

 

Newtable = SUMMARIZE('Table',[FECHA],[valor],"month",FORMAT([FECHA],"mmm"))

 

2. put it into table visual

vxiaotang_2-1628155586035.png

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Based on your sample data, I created a sample under DQ mode, then

1.  create a new table 

vxiaotang_1-1628155467774.png

 

Newtable = SUMMARIZE('Table',[FECHA],[valor],"month",FORMAT([FECHA],"mmm"))

 

2. put it into table visual

vxiaotang_2-1628155586035.png

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Super User
Super User

@Anonymous Create this calculated column in your table:

Month = FORMAT([FECHA],"mmmm")

@ 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...
Anonymous
Not applicable

Hi

 

thanks for your time

 

LOG

"The 'FORMAT' function is not allowed as part of calculated column DAX expressions in DirectQuery models."

 

☹️

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.

Top Kudoed Authors