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
Barre
Helper I
Helper I

Sum per Day

Hi,

I have this table visual with OrderDate and a Amount measure.

The OrderDate is of type Date, with Date Hierarchy off in the table.

 

What I´m struggeling to achieve is to visualize the total Amount per day, and not show all datapoints per each day. The OrderDate hierarchy needs to be off in the table.

 

Sample data

OrderDate    Amount

2019-01-01     100

2019-01-01     200

2019-01-01     300

2019-01-02     200

2019-01-02     300

 

How I want the table to show the values

OrderDate    Amount

2019-01-01     600

2019-01-02     500

1 ACCEPTED SOLUTION
Tahreem24
Super User
Super User

@Barre , Create a below measure :

Final Amount = CALCULATE([Amount Measure],ALLEXCEPT(MyTable,MyTable[OrderDate]))
Capture.JPG
 
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

View solution in original post

3 REPLIES 3
Tahreem24
Super User
Super User

@Barre , Create a below measure :

Final Amount = CALCULATE([Amount Measure],ALLEXCEPT(MyTable,MyTable[OrderDate]))
Capture.JPG
 
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
ryan_mayu
Super User
Super User

@Barre 

pls try right click the date column name and select the column , not date hierarchy.

1.png





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

Proud to be a Super User!




Thanks you for reply!

That is what I have done, and the data is shown as following.

 

OrderDate    Amount

2019-01-01     100

2019-01-01     200

2019-01-01     300

2019-01-02     200

2019-01-02     300

 

But I want the data to look like this 

OrderDate    Amount

2019-01-01     600

2019-01-02     500

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors
Top Kudoed Authors