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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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")

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...
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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Solution Authors