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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
YuliyaMusiyuk
Regular Visitor

% Of revenue per outlet

Hello,

i am trying to calculate % of revenue per outlet; see below - i need each Cat-Category to be devided by Total rev in that Cat-DepartmentDesc

YuliyaMusiyuk_0-1628529033550.png

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @YuliyaMusiyuk ,

 

According to your description, I did a test reference as follows:

Column =
IF (
    'Table'[REV] = 0
        || ISBLANK ( 'Table'[REV] ),
    0,
    DIVIDE ( 'Table'[CY MTD], 'Table'[REV] )
)

vhenrykmstf_0-1628749539119.png

 


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

3 REPLIES 3
v-henryk-mstf
Community Support
Community Support

Hi @YuliyaMusiyuk ,

 

According to your description, I did a test reference as follows:

Column =
IF (
    'Table'[REV] = 0
        || ISBLANK ( 'Table'[REV] ),
    0,
    DIVIDE ( 'Table'[CY MTD], 'Table'[REV] )
)

vhenrykmstf_0-1628749539119.png

 


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

sm_talha
Resolver II
Resolver II

can you provide more data ? 

 i have multiple outlets )Outlet 1, outlet 2-10), but the concept is the same - i wanted to have for example 07-Benefits devided by 04-Revenue per Outlet 1; 07-Expenses devided by 04-Revenue. Am i making sense what i am asking? 

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.