cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
fep
Helper I
Helper I

Blank Totals row Matrix

I have create age bucket that count employees in to age groups.
But the total row is blank.

this is the Dax formula (measure)

Count_Employees =
VAR AgeStart =
    SELECTEDVALUE(agegroups[Min])
VAR AgeEnd =
    SELECTEDVALUE(agegroups[Max])
RETURN
    COUNTROWS(
        FILTER (
            VALUES ( Personalreport[employeeID]),
            [Dynamic age] > AgeStart
                && [Dynamic age] <= AgeEnd
        )
    ))
   
The Dynamic age is a measure that- calculate age based on Date Table selection.
Dynamic age = INT(YEARFRAC(SELECTEDVALUE(Personalrapport[Birthday),MAX(CalendarHR[Date])))z
This is the result
fep_0-1664184212072.png

 

What do I have to do to get this to Sum Totals?
2 REPLIES 2

hi @fep,
if possible can you provide a sample or dummy file.
Thanks

Hi, I am sorry but that will require alot of work to remove personal information. I will see if I can make another file.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors