The present application provides novel aromatic ring compounds with GPR40 agonist activity and GLP  ̄ 1 secretory promoting effect. The application relates to a compound or a salt thereof represented by formula (I), wherein each symbol is described in the specification, which has GPR40 agonist activity and GLP  ̄ 1 secretory promoting effect, which can be used to prevent or treat cancer, obesity, diabetes, hypertension, hyperlipidemia, heart failure, diabetic complications, metabolic syndrome, myopenia, etc., and can provide excellent curative effect.本申請提供了可具有GPR40激動劑活性和GLP‑1促分泌作用的新型芳族環化合物。本申請涉及由式(I)表示的化合物或其鹽,其中每個符號如說明書中所述,其具有GPR40激動劑活性和GLP‑1促分泌作用,其可用於預防或治療癌症、肥胖、糖尿病、高血壓、高脂血症、心力衰竭、糖尿病並發症、代謝綜合徵、肌少症等,並可提供優異的療效。