Use one macro to transform into two fields

Hi All,

I’m new to dbt and was wondering if the parameter from one macro can be transformed into two fields in dbt?

My current macro looks like this:
{% macro first_macro(param) %}

apply logic to param as field1

{% endmacro %}

Is it possible for the macro to be changed, as shown below? If yes, how can I return the macro’s output?
{% macro first_macro(param) %}

apply logic to param as field1,
apply logic to param as field2

{% endmacro %}