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 would like to ask why my measure is wrong when before its working with other ssas or visual studio dax
Measure : not working
=COUNTROWS (
SUMMARIZE (
FILTER (
SUMMARIZE (
'DIM_DEALER_GENEALOGY',
'DIM_DEALER_GENEALOGY'[MD NAME],
'DIM_DEALER_GENEALOGY'[FD NAME],
'DIM_DEALER_GENEALOGY'[FM NAME],
'DIM_DEALER'[Level],
'DIM_DEALER_GENEALOGY'[IS_FM_FAM_PRSNLTY],
"GROSS", [Gross Amount]
),
'DIM_DEALER_GENEALOGY'[IS_FM_FAM_PRSNLTY] = 1
&& [GROSS] > 0
&& 'DIM_DEALER'[Level] <> "MD"
&& 'DIM_DEALER'[Level] <> "FD"
),
'DIM_DEALER_GENEALOGY'[MD NAME],
'DIM_DEALER_GENEALOGY'[FD NAME],
'DIM_DEALER_GENEALOGY'[FM NAME]
)
)
measure working
=COUNTROWS (
SUMMARIZE (
FILTER (
SUMMARIZE (
'FACT_OFF_TAKE',
'FACT_OFF_TAKE'[MD_NAME],
'FACT_OFF_TAKE'[FD_NAME],
'FACT_OFF_TAKE'[FM_NAME],
'DIM_DEALERS'[LEVEL],
'FACT_OFF_TAKE'[IS_FM_FAM_PRSNLTY],
"GROSS", [Gross Amount]
),
'FACT_OFF_TAKE'[IS_FM_FAM_PRSNLTY] = 1
&& [GROSS] > 0
&& 'DIM_DEALERS'[LEVEL] <> "MD"
&& 'DIM_DEALERS'[LEVEL] <> "FD"
),
'FACT_OFF_TAKE'[MD_NAME],
'FACT_OFF_TAKE'[FD_NAME],
'FACT_OFF_TAKE'[FM_NAME]
)
)
THANKYOU
Solved! Go to Solution.
Hi @Easley06
As I understand in your example only difference is what is source of your SUMMARIZE table: fact or dimension table.
Using SUMMARIZE, like you did it means columns from that table is summarized. In Power BI, you need relationship (or some other feature) to leverage connections between different tables.
I hope this help
Proud to be a Super User!
Hi @Easley06 ,
Based on the information provided, it is difficult to determine why the measure is not working. However, there are some general tips that may help you troubleshoot the issue:
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Easley06 ,
Based on the information provided, it is difficult to determine why the measure is not working. However, there are some general tips that may help you troubleshoot the issue:
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Easley06
As I understand in your example only difference is what is source of your SUMMARIZE table: fact or dimension table.
Using SUMMARIZE, like you did it means columns from that table is summarized. In Power BI, you need relationship (or some other feature) to leverage connections between different tables.
I hope this help
Proud to be a Super User!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
10 | |
6 | |
6 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
10 | |
6 |