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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
SunilRaj
Frequent Visitor

need help we are getting issue in to exclude that data which already count in previous month .

Hello ,

Please help as we are trying to create Power BI Report . we are getting issue in tScreenshot_1.pngo exclude that data which already count in previous month .

select count(distinct tax_payer_no_own), tax_centre_no
from prop_owner_detail prop_det,tax_payer
where TRUNC(prop_det.enter_date)between'01-jan-2014'and'31-dec-2022'
and tax_payer.tax_payer_no= prop_det.tax_payer_no_own
and prop_det.tax_Payer_no not in
(select tax_Payer_no from prop_owner_detail where TRUNC(enter_date)<'01-jan-2012'AND fl_principal='Y')
and fl_principal='Y'

6 REPLIES 6
lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue. I cannot help you without usable sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive. I cannot use screenshots of your source data.
Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Please help as we are trying to create Power BI Report . we are getting issue in to exclude that data which already count in previous  .

 

 

PROP_OWNER_DETAIL_NOTAX_PAYER_NO_OWNTAX_PAYER_NOENTER_DATETAX_PAYER_NO
45506016732801442901/6/201244290
454940139478442901/6/201244290
455000148324442901/6/201244290
550540131556442901/16/201444290
765740112451401442907/23/201844290
830920113793801442902/13/202044290

hi, 

in above data set if we select year  and month jan o/p will (taxpayercount) =1, then after  if we select year 2014 count should be zero. becouse 44290 is not new taxpayer.

hi, 

in above data set if we select year 2012 and month jan o/p will (taxpayercount) =1, then after  if we select year 2014 count should be zero. becouse 44290 is not new taxpayer.


Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

hi, 

in above data set if we select year 2012 and month jan o/p will (taxpayercount) =1, then after  if we select year 2014 count should be zero. becouse 44290 is not new taxpaye

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.