Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi All,
i am stuck in recgnizing the error in this measure , kindly anyone please help me out..
Hi, @PowerBI_AL2022
The SELECTCOLUMNS function returns a calculated table, not a measure.
SELECTCOLUMNS function (DAX) - DAX | Microsoft Learn
You can try :
RETURN SUMX(_qty,[CATALOG])
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you so much for your response.
I tried your suggestion i.e. using SUMX instead of SELECTCOLUMNS but it still seem not to be working.
Attaching the image for reference :
here the highlighted 2 KPIs in yellow are the ones which have issues ,
KPI result 37.06% uses the formula "DIVIDE([MAX_QTY_SKU3],[Projects])+0"
and MAX_QTY_SKU3 uses the calculation as show below:
so i am unable to find out whats the issue here ,
the connection between the tables used in the bar chart and KPI s are well defined in the data model so there is no issue there.
i also tried to change the function used in the measure as you suggested but it didnt work .
please guide me in anyway possible , it would be really helpfull .
Thanks for your time and knowledge.
Regards.