cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ghutchins
Helper II
Helper II

Total Rows by Hierarchy Data Column

I am trying to sum up values in for a row across eventually  12 date columns in the last table.  The values are calculated measures from other data columns.  I cannot seem to get over this hurdle and hope there is help out there somwhere.   Any help is appreciated be it a resouce or suggested code.

 GC_Image.PNG

2 ACCEPTED SOLUTIONS
Mikelytics
Resident Rockstar
Resident Rockstar

HI @ghutchins 

 

Without seeing the data model I have to do some assumptions but it should be something like this:

 

Final Measure = 
SUMX(
   VALUES(DateTable[Month]),
   [Count MA > 4 (Count)]
)

 

Do you use a proper date table?

 

Best regards

Michael

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

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your thumbs up!

@ me in replies or I'll lose your thread.

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

LinkedIn

 

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

View solution in original post

Thanks your suggestion lead me to the answer...  

Count MA > 4 (Count all) =
SUMX(
   VALUES('GoodCatch Data'[submitted_date].[Month]),
   [Count MA > 4 (Count)]
)

View solution in original post

2 REPLIES 2
Mikelytics
Resident Rockstar
Resident Rockstar

HI @ghutchins 

 

Without seeing the data model I have to do some assumptions but it should be something like this:

 

Final Measure = 
SUMX(
   VALUES(DateTable[Month]),
   [Count MA > 4 (Count)]
)

 

Do you use a proper date table?

 

Best regards

Michael

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

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your thumbs up!

@ me in replies or I'll lose your thread.

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

LinkedIn

 

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

Thanks your suggestion lead me to the answer...  

Count MA > 4 (Count all) =
SUMX(
   VALUES('GoodCatch Data'[submitted_date].[Month]),
   [Count MA > 4 (Count)]
)

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.