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
DarshanPatel24
New Member

Day wise Percentage of Pool

Hello 

 

i have one table & i want to find out Percentage of pool BSNL for 1st May .

eg,

% BSNL for 1st May = Call value of BSNL For 1st May / Total Call value of BSNL .

 

Please help me with Formula !

DatePoolCall Value
5/12/2019BSNL100
5/1/2019VODA30
5/1/2019AIRTEL50
5/1/2019AIRTEL70
5/1/2019BSNL60
5/19/2019VODA20
5/19/2019BSNL120
5/19/2019VODA100
5/1/2019BSNL100
5/19/2019AIRTEL120
5/5/2019AIRTEL20
5/1/2019AIRTEL100
5/1/2019BSNL180
5/12/2019VODA190
5/1/2019VODA60



1 REPLY 1
Nathaniel_C
Super User
Super User

Hi @DarshanPatel24 ,

Try this:
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

First of May =
VAR _date =
    DATE ( 2019, 5, 1 )
VAR _Pool = "BSNL"
VAR _calc =
    CALCULATE (
        [Call Value Total],
        callValue[Pool] = _Pool,
        callValue[Date] = _date
    )
VAR _calc2 =
    CALCULATE ( [Call Value Total], callValue[Pool] = _Pool )
VAR _percentage =
    DIVIDE ( _calc, _calc2 )
RETURN
    _percentage

percentage.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.