Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi
I wish to get a count/distinctcount of currunt month of "PIN Code" if there is no Month/value selected in filter visual.
I have tried below formula in my base report but its not showing me correct value,
Please help
https://1drv.ms/u/s!Ai3rGPgy20kLwUsY5cG6RUA71nDt?e=lFOkYL
Solved! Go to Solution.
Hi @Amardeep100115 ,
Update your measure as below.
Measure 2 = var currentmonth = FORMAT(TODAY(),"mmmyyyy") return IF ( ISFILTERED ( Sheet4[month] ), DISTINCTCOUNT ( Sheet4[Pin No] ), CALCULATE ( DISTINCTCOUNT ( Sheet4[Pin No] ), FILTER ( Sheet4, FORMAT ( 'Sheet4'[As of date], "mmmyyyy" ) = "Jul2019" ) ) )
Hi @Amardeep100115 ,
Update your measure as below.
Measure 2 = var currentmonth = FORMAT(TODAY(),"mmmyyyy") return IF ( ISFILTERED ( Sheet4[month] ), DISTINCTCOUNT ( Sheet4[Pin No] ), CALCULATE ( DISTINCTCOUNT ( Sheet4[Pin No] ), FILTER ( Sheet4, FORMAT ( 'Sheet4'[As of date], "mmmyyyy" ) = "Jul2019" ) ) )