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
Alexo3627
Frequent Visitor

Percentage by month line chart

Hello, I would like to know how I can show the percentage of each month, as it is in the example:

line chart PBI.PNG

Regards,

1 ACCEPTED SOLUTION

Thanks your aswer helped a lot:

divide(SUM(BASE[Cont]),CALCULATE(sum(BASE[Cont]), ALLSELECTED(BASE[dolencia ])))

View solution in original post

3 REPLIES 3
Thennarasu_R
Responsive Resident
Responsive Resident

Create one Measure 

Measure=Divide(Calculate(Sum(sales)),Calculate(Sum(sales),All(Month Column)))

Once created Measure chnage in  Format to Percentage

Thanks,
Thennarasu

Hi, thanks butthe measure show 0 in all months

Dolencia % by month = Divide(Calculate(count(BASE[dolencia ])),Calculate(count(BASE[dolencia ]),All(BASE[MES])))
Alexo3627_0-1666954060013.png

 

Thanks your aswer helped a lot:

divide(SUM(BASE[Cont]),CALCULATE(sum(BASE[Cont]), ALLSELECTED(BASE[dolencia ])))

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.