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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.