Preheat oven to 350°F (175°C). Grease or line a standard loaf pan with parchment paper.
- Grate the cucumber, then place it in a clean towel and squeeze out as much moisture as possible. Set aside.
- In a large bowl, whisk together flour, baking powder, baking soda, salt, and sugar (if using).
- In another bowl, beat the eggs, then mix in yogurt and olive oil until smooth.
- Pour the wet ingredients into the dry and stir gently until just combined.
- Fold in the grated cucumber and fresh dill.
- Pour the batter into the prepared loaf pan and smooth the top.
- Bake for 45–55 minutes, or until a toothpick inserted into the center comes out clean.
- Cool in the pan for 10 minutes, then transfer to a wire rack to cool completely.
- Wrap and chill in the refrigerator for at least 2 hours before serving for best flavor.