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
mahitham
Helper I
Helper I

Max of Month Visitors calculation help

Hi,

 

Can any one please help me on below requirement.

I have total 46000 new visitors in application. When i have filtered Max(Month) i.e.,Dec from Slicer the count is 3612.

But i have to show 3612 count in card by default without filtering from slicer.

 

Please help me to write calculation for sum of new visitors for Max(Month).

 

Thanks in advance.

max month.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Sorry. Changed measure:

 

New Visitors Measure =
IF(
    ISFILTERED('Web Analytics'[MonthNameShort]),
    SUM('Web Analytics'[New Visitors]),
    CALCULATE(
SUM('Web Analytics'[New Visitors]),
FILTER('Web Analytics', 'Web Analytics'[MonthNameShort] = MAX('Web Analytics'[MonthNameShort]))
) )

 

View solution in original post

10 REPLIES 10

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.