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
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
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.