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
Anonymous
Not applicable

Category Total Divided by Total

Hi Experts

 

I am trying to work out the Category Total of one Category divided by the overall Total 

Current Measure 

Under 6 weeks / Total =
VAR _all =
    CALCULATE ( [Measure], ALL ( 'Table' ) )
RETURN
    IF (
        SELECTEDVALUE ( Table[Period] ) = "Under 6 weeks",
        IF (
            ISINSCOPE ( Table[BookedUnbooked] ),
            BLANK (),
            1 - DIVIDE ( [Measure], _all )
        )
    )


Image 

Checkers111_0-1657020617652.png

End Result needs to be 35 / 583.....

Not sure on how to modify the above measure


 

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

Please try the measure.

 

Over 6 weeks / Total = 
CALCULATE ( [Measure], 'Table'[Period] = "Over 6 weeks" )
    / CALCULATE ( [Measure], ALL ( 'Table' ) )

vkkfmsft_0-1657251254080.png


If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Also Tried

 

Waiting Under 6 Weeks =
VAR _all =
CALCULATE ( [Measure], ALL ( 'Data' ) )
VAR Over = CALCULATE([Waiting List Type],ALLEXCEPT(Period,Period[TCI Status]))
RETURN
1 - DIVIDE ( [Measure], _all )

Hi @Anonymous ,

 

Please try the measure.

 

Over 6 weeks / Total = 
CALCULATE ( [Measure], 'Table'[Period] = "Over 6 weeks" )
    / CALCULATE ( [Measure], ALL ( 'Table' ) )

vkkfmsft_0-1657251254080.png


If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.