The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi all,
I've had a hunt for a solution, though starting from a pretty limied level of knowledge which doesn't help...
I have the following measure applied to my data, which gives me the accompanying Table. I got these values even though I've only specified "FAI", so suspect that's not helping things. The '0' is added to ensure the table adds a 0 when there's a null value
Solved! Go to Solution.
Hi @Anonymous ,
To use this measure should work.
To Date = VAR this_month = FORMAT ( TODAY (), "mm-yyyy" ) RETURN CALCULATE ( COUNTAX ( 'IR H&S Incident Register', 'IR H&S Incident Register'[Classification] = "FAI" ), FILTER ( 'IR H&S Incident Register', FORMAT ( 'IR H&S Incident Register'[date], "mm-yyyy" ) = thsi_month ) ) + 0
Hi @Anonymous ,
To use this measure should work.
To Date = VAR this_month = FORMAT ( TODAY (), "mm-yyyy" ) RETURN CALCULATE ( COUNTAX ( 'IR H&S Incident Register', 'IR H&S Incident Register'[Classification] = "FAI" ), FILTER ( 'IR H&S Incident Register', FORMAT ( 'IR H&S Incident Register'[date], "mm-yyyy" ) = thsi_month ) ) + 0