Forum Discussion

RobGer's avatar
RobGer
Frequent Visitor
2 years ago
Solved

Combining Parameters in DAX

Hello!

I have the following Issue trying to create a line chart with flexible parameters.
Context: I have published some videos and want to count the number of views this videos have per day (in a running total) and compare them to the average minimum and average maximum of my other videos. As the videos are not published on the same day, I created a "Ranking" for the days, in the form of an Index. 

 

I can´t find a way, to create a parameter that both filters the video for which I created the running total measure, and the number of days the video has been uploaded (the second video has been uploaded quite recently, and the running total ends on day 6, but the line continues on). Can i somehow introduce in the parameter expression, another column that chooses the right Index values?

The structure of my data looks like this:

 

For each video one table with Date, Index, # of views.
Parameter Table: 

Index Table: a nested Join between all video tables, so that I can use this tables Index for all charts.

Thank you in advance,

Robert

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi RobGer ,

     

    It sounds like you're trying to use different measure at the same time, you might want to refer to the experience shared by this user:Using parameters within measures - Microsoft Fabric Community

     

    Hope it helps!

     

    Best regards,
    Community Support Team_ Scott Chang

     

    If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

3 Replies