Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I have my data like:
state hours days
NY 100 1
NY 140 2
NJ 100 1
NJ 200 2
NJ 300 3
dax: HOURS_PER_DAY= SUM(HOURS)/ MAX(DAYS)
RESULT TABLE IN POWERBI:
STATE HOURS_PER_DAY
NY 120
NJ 200
TOTAL 280
MY REQUIREMENT:
STATE HOURS_PER_DAY
NY 120
NJ 200
TOTAL 320
i WANT TO SHOW total as sum(hours_per_day) .
Thanks
Solved! Go to Solution.
Hey,
this measure
Measure = SUMX(VALUES('Table1'[State]), CALCULATE(SUM(Table1[Hours]) ,ALLEXCEPT('Table1',Table1[State]) ) /CALCULATE(MAX(Table1[Days]) ,ALLEXCEPT('Table1',Table1[State]) ) )
creates what you are looking for
Hope this is what you're looking for
Regards
Hey,
this measure
Measure = SUMX(VALUES('Table1'[State]), CALCULATE(SUM(Table1[Hours]) ,ALLEXCEPT('Table1',Table1[State]) ) /CALCULATE(MAX(Table1[Days]) ,ALLEXCEPT('Table1',Table1[State]) ) )
creates what you are looking for
Hope this is what you're looking for
Regards
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
122 | |
80 | |
47 | |
44 | |
35 |
User | Count |
---|---|
182 | |
83 | |
70 | |
47 | |
45 |