Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Im having trouble to apply my double filter year and month, so far only single year works!
The code is down below
"
Turnover - TopN:=
SUMX(
TOPN([SelectedTopNNumber],
SUMMARIZECOLUMNS(Customer[Customer Name],'Date'[Month],
"Sales TopN", CALCULATE([Amount],KEEPFILTERS(FILTER(ALL(Account[AccountTurnover]),Account[AccountTurnover]=1)))),
[Sales TopN]),
[Sales TopN])
"
The error is below:
MdxScript(xx)
Calculation error in measure 'KeyFigures' [xxx]: SummarizeColumns() and AddMissingItems() may not be used in this context
Technical Details:
RootActivityId: 30b20aca-4ffa-4508-a595-fd5ce38341f7
Hi @Khanh1,
I'm no so clear for your data structure, please share a pbix file with some sample data for test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 38 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 66 | |
| 30 | |
| 26 | |
| 25 |