Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Chandrashekar
Resolver III
Resolver III

DAX Help

Hello,

 

I need help on Percent on row total. 

If I select Feb month alone am getting % correctly but if i select multi month there was change in % value

If I select multi month also I need same value as when I select individual month.

For Ex: If I select Feb-23 - 1-Critical is 99.10 % and 0.90 %. If I select month also I need same.

Chandrashekar_1-1684390285773.png

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @Chandrashekar,

You can add a ISINSCOPE function to check the row contexts level and add variable with SUMMARIZE function to aggregate the detail level records and use iterator functions to apply the second level.

Use IsInScope to get the right hierarchy level in DAX - Kasper On BI

Measure Totals, The Final Word 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @Chandrashekar,

You can add a ISINSCOPE function to check the row contexts level and add variable with SUMMARIZE function to aggregate the detail level records and use iterator functions to apply the second level.

Use IsInScope to get the right hierarchy level in DAX - Kasper On BI

Measure Totals, The Final Word 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hello,

 

Thanks for the suggestion.

 

Regards,

Chandrashekar B

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors