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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

lead percentage

Learn Power BI - Creating Comprehensive Report by PBI Expert Mr. Vijay Perepa i have  table

Month of DateDevice FilterEnquiries 0
Dec-22Tablet0
Nov-22Tablet1
Oct-22Tablet1
Sep-22Tablet0
Aug-22Tablet0
Jul-22Tablet0
Jun-22Tablet0
May-22Tablet0
Apr-22Tablet1
Mar-22Tablet2
Feb-22Tablet3
Jan-22Tablet0
Dec-21Tablet0
Dec-22Mobile6
Nov-22Mobile10
Oct-22Mobile91
Sep-22Mobile56
Aug-22Mobile18
Jul-22Mobile164
Jun-22Mobile58
May-22Mobile22
Apr-22Mobile47
Mar-22Mobile41
Feb-22Mobile10
Jan-22Mobile5
Dec-21Mobile1
Dec-22Desktop6
Nov-22Desktop8
Oct-22Desktop15
Sep-22Desktop12
Aug-22Desktop19
Jul-22Desktop48
Jun-22Desktop64
May-22Desktop150
Apr-22Desktop26
Mar-22Desktop88
Feb-22Desktop31
Jan-22Desktop14
Dec-21Desktop3

 

how can calculate leas percentage for each month using dax

kindly help me with this

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try like

 

Divide(Sum(Table[Enquiries 0]), calculate(Sum(Table[Enquiries 0]), filter(allselected(Table), Table[Month Year] = earlier([Month Year]) )))

 

Divide(Sum(Table[Enquiries 0]), calculate(Sum(Table[Enquiries 0]), removefilters(Table[Data Device filter]) ))

 

Percent of Total and Percent of SubTotal https://www.youtube.com/watch?v=6jTildcV2ho

https://www.youtube.com/watch?v=cN8AO3_vmlY&t=24270s

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

thank you

Anonymous
Not applicable

Hi @Anonymous ,

Please try below steps:
1. create a measure with below dax formula

Measure =
VAR _total =
    SUMX ( ALL ( 'Table' ), [Enquiries 0] )
VAR _val =
    SUMX ( 'Table', [Enquiries 0] )
RETURN
    DIVIDE ( _val, _total )

2. add a table visual with field and measure 

vbinbinyumsft_0-1674022273051.png

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , Try like

 

Divide(Sum(Table[Enquiries 0]), calculate(Sum(Table[Enquiries 0]), filter(allselected(Table), Table[Month Year] = earlier([Month Year]) )))

 

Divide(Sum(Table[Enquiries 0]), calculate(Sum(Table[Enquiries 0]), removefilters(Table[Data Device filter]) ))

 

Percent of Total and Percent of SubTotal https://www.youtube.com/watch?v=6jTildcV2ho

https://www.youtube.com/watch?v=cN8AO3_vmlY&t=24270s

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

hi there

 

i have yearMonth colunm in the below format

202109

how can i covert it to mmm-yy

Anonymous
Not applicable

Hi Amit could you help me with navigation

 

like if select name in the filter it should take me to other pager and open all the information

 

like if i select customer name like vijay in the filter and click on vijay it should take me other page

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.