cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kprasad Frequent Visitor
Frequent Visitor

KPI Visual does not work properly for new year dates.

Hi all,

 

I am working on a dashboard, in which I am trying to implement a KPI visual for current period vs previous period values. The visual works correct for the end date upto 31st December 2016. But when I change my end date to any date from january 2017 KPI visual starts me showing values from 1st january to the selected end date from january 2017.Here I am attaching the

screenshots from the test file.So can any one please help me to find any solution on this..??

Click to download test file


Screenshot (3).pngEnd date is of December 2016Screenshot (4).pngAfter selecting End date from january 2017 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-haibl-msft Super Contributor
Super Contributor

Re: KPI Visual does not work properly for new year dates.

@kprasad

 

That’s just how the KPI visual works. In your case, you can create following two measures to replace the Current sessions and Previous sessions.

 

Current = 
CALCULATE ( SUM ( Test[Current sessions] ), ALLSELECTED ( Test[Date] ) )
Previous = 
CALCULATE ( SUM ( Test[Previouse sessions] ), ALLSELECTED ( Test[Date] ) )

KPI Visual does not work properly for new year dates._1.jpg

 

Best Regards,

Herbert

View solution in original post

2 REPLIES 2
v-haibl-msft Super Contributor
Super Contributor

Re: KPI Visual does not work properly for new year dates.

@kprasad

 

That’s just how the KPI visual works. In your case, you can create following two measures to replace the Current sessions and Previous sessions.

 

Current = 
CALCULATE ( SUM ( Test[Current sessions] ), ALLSELECTED ( Test[Date] ) )
Previous = 
CALCULATE ( SUM ( Test[Previouse sessions] ), ALLSELECTED ( Test[Date] ) )

KPI Visual does not work properly for new year dates._1.jpg

 

Best Regards,

Herbert

View solution in original post

Highlighted
kprasad Frequent Visitor
Frequent Visitor

Re: KPI Visual does not work properly for new year dates.

@v-haibl-msft,

Thank you,For your solution. This trick worked for me.

Best Regards,

Prasad.

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 40 members 978 guests
Please welcome our newest community members: