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
Anonymous
Not applicable

Comparing data with selected months and previous months

Hello,

 

I have a table called customer Transaction . Please find sample data as below. It has many rows with other cust id, year and month.

Cust IdYearMonthCol1Col2
12019JAN510
22019JAN220
32019JAN330
42019JAN10100
12019FEB1200
22019FEB220
62019FEB300400

 

I want to select year and month through Slicer and calculate New customers sales and no sales customers.

For Example if I select year= 2019 and Month = FEB, result should display as below after comparing previous month. I used calculated table, its working hard code value but not through slicer.

 

Please Help!!!!!!!

 

New Customers   
     
Cust IdYearMonthCol1Col2
62019FEB300400

 

Customers removed this month

Cust IdYearMonthCol1Col2
32019JAN330
42019JAN10100

 

Regards

Samar

 

 

0 REPLIES 0

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.

Top Solution Authors