Forum Discussion
count rows by month without creating relationship
- 7 years ago
I believe you can create a virtual relationship bewteen tables using the TREATAS function (never used it myself; so far have managed with inactive relationships and USERELATIONSHIP). Sorry I can't be of further help, but might be worth scouting the internet.
Try here for example: TREATAS by enterprisedna.com
eddd83 ,
You may try the measure below.
Measure =
COUNTROWS (
FILTER (
testData,
DATEDIFF ( testData[Due Date], MAX ( 'Date'[Date] ), MONTH ) = 0
)
)
The measure in the last post didn't work either.
I ended up using power query in Excel and the queries auto-run whenever the file opens. Then using various array formulas, I produced my desired result.
- PaulDBrown7 years agoCommunity Champion
I believe you can create a virtual relationship bewteen tables using the TREATAS function (never used it myself; so far have managed with inactive relationships and USERELATIONSHIP). Sorry I can't be of further help, but might be worth scouting the internet.
Try here for example: TREATAS by enterprisedna.com