The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
User | Count |
---|---|
56 | |
54 | |
53 | |
47 | |
30 |
User | Count |
---|---|
175 | |
88 | |
69 | |
48 | |
47 |