Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi @Greg_Deckler I have created a dax measure in power bi but it made the performance of the report very slow. I have two unrelated tables A and table B with dates and I have to get the sum of sales from table A where table A date(month,year) = table B (month,year). So I have created below dax measure
measure = calculate(sum(sales), filter(table A, month(table A) = month(table B)), filter(table A, year(table A) = year(tableB))
measure works fine. But the performance became very slow after getting this measure into the matrix. Please suggest
@Anonymous , ideally Create a common date table and filter both using the date table aulte
M1 = countrows(tableb)
M2 = Sum(TableA[Value])
M3 = sumx(filter( Values(Date[Date]) , not(Isblank([M1]))) , [M2])
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |