Forum Discussion

Griggers's avatar
Griggers
Frequent Visitor
1 year ago

DAX Parameter on multile columns

Hi,

I have a date table that has a date, previous_day, MTD, YTD etc columns.

For previous_day, MTD, YTD the values are either Y or N.

Is it possible to have a parameter based on previous_day, MTD, YTD that is set to Y but the user selects one of the 3 columns ?

They can then run this for the same report to show either previous_day, MTD, YTD data.

 

This will be done in pagenated reports.

Thanks Griggers

8 Replies

    • Griggers's avatar
      Griggers
      Frequent Visitor

      Hi danextian The 3 columns  previous_day, MTD, YTD the values are already set to either Y or N.

      Im looking at creating the parameter in pagenated report.

      Thanks

      Griggers

    • Griggers's avatar
      Griggers
      Frequent Visitor

      Hi Jihwan_Kim,

      The 3 columns  previous_day, MTD, YTD the values are already set to either Y or N.

      Im looking at creating the parameter in pagenated report.

      I would like to pass Previous Day = Y or MTD = Y or YTD = Y to the query and return dates based on this.

      Thanks

      Griggers

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Griggers ,

    Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.

    If these also don't help, please share more detailed information and description to help us clarify your scenario to test.

    How to Get Your Question Answered Quickly 

    Regards,

    Xiaoxin Sheng

  • v-achippa's avatar
    v-achippa
    Community Support

    Hi Griggers,

     

    Thank you for reaching out to Microsoft Fabric Community.

     

    Thank you Jihwan_Kim and danextian for the prompt response.

     

    As we haven't heard back from you, we wanted to kindly follow up to check if the solution provided by the super user resolved your issue?
    If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

     

    Thanks and regards,

    Anjan Kumar Chippa

    • v-achippa's avatar
      v-achippa
      Community Support

      Hi @Griggers,

       

      We wanted to kindly follow up to check if the solution provided by the super user resolved your issue?

      If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

       

      Thanks and regards,

      Anjan Kumar Chippa

      • v-achippa's avatar
        v-achippa
        Community Support

        Hi @Griggers,

         

        As we haven't heard back from you, we wanted to kindly follow up to check if the solution provided by the super user resolved your issue?
        If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

         

        Thanks and regards,

        Anjan Kumar Chippa