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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Sajid02
Helper I
Helper I

For only one FY Data is showing incorrect , for rest all data is correct

Hi Folks, 

I am facing an issue with a data set . The data are in from of period code, Financial year , Attribute and Vol in the database. 

Ref:-

Sajid02_0-1650269630974.png

 

Now i have created , Financial year columns to get data attribute wise. But with the financial year 2021/22 , data is showning incorrect for summary visual , rest individual visuals has correct data .

 

Ref:-

 

Sajid02_1-1650269968528.png

Instead , the value in first visual should be shown line - 63339  

 

Like it should be the sum of both below visual , one can check with other financial year .

 

DAX used to get Financial year Data -

2021/22 = IF('ODI Report'[Actual Financial Year] = "2021/2022" , 'ODI Report'[Vol] , 0)
 
And if i am using in particular this Dax for fy 2021/22 ONLY -

Orginal :- 2021/22 = IF('ODI Report'[Actual Financial Year] = "2021/2022" && 'ODI Report'[CurrMonth] = TRUE() , 'ODI Report'[Vol] , 0 ) THEN VISUAL CHANGES LIKE THIS -

 

Sajid02_2-1650270227421.png
Except first visual , rest two values having correct value . First should be the sum of both bottom two visuals. 
 
 
Please help on this , how to correct this ?
 
Thanks !
 

 

 

 

1 ACCEPTED SOLUTION

Hi Amit , 

 

It is solved now . I found it just a filter issue in visual one. There were no filters applied and due to this it is taking all data . Now , after applying filter on not unique customer , data is showing all correct . 

 

Thanks for the help , Man !

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@Sajid02 , Try meausre like

 

Calculate(Sum('ODI Report'[Unique Customer]) ,Filter('ODI Report','ODI Report' [Actual Financial Year] = "2021/2022"))

 

Or measure like this with Year table 

 

Calculate(Sum('ODI Report'[Unique Customer]) ,Filter('Year','Year' [Actual Financial Year] = "2021/2022"))

 

Calculate(Sum('ODI Report'[Unique Customer]) ,Filter('Year','Year' [Actual Financial Year] = max('Year' [Actual Financial Year] )))

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi Amit , 

 

Tried this but not  working as Unique Customer is not taking up as measure and showing error as with calculate and sum function , unique customer is not filtering out

@Sajid02 ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi Amit , 

 

It is solved now . I found it just a filter issue in visual one. There were no filters applied and due to this it is taking all data . Now , after applying filter on not unique customer , data is showing all correct . 

 

Thanks for the help , Man !

Hi @Sajid02 ,

 

Glad your problem is solved, please mark it as a solution so that more people can see it.

 

Best Regards

Community Support Team _ chenwu zhu

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.