One serving against a day's fiber
The Dietary Reference Intakes set an Adequate Intake for total fiber of 25 g a day for women aged 19 to 50 and 38 g for men of the same ages. Measured against those, the 2.6 g in a 1 piece/slice, any size serving of cake or cupcake, coconut is 10% of the first and 7% of the second. US food labels use a single Daily Value of 28 g instead, which puts this serving at 9%.
Calorie for calorie, the figure is 0.4 g of fiber per 100 kcal (this serving is 736 kcal). Among the 110 packaged with USDA energy data here that is 101st, and 929th across all 957. The intakes above were derived from 14 g of fiber per 1,000 kcal, or 1.4 g per 100 kcal, so this food sits below the ratio a whole day of eating is meant to reach.
Getting all 25 g from cake or cupcake, coconut alone would take 10 servings, and 38 g would take 15. Most days reach the target through several different sources.
Soluble vs Insoluble Fiber: What Each One Actually Does · All fiber guides