Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I have a table with the following information
The columns Code and Info are what I want to show in my visual
Quarter column corresponds to a field from a calendar table with which I create a relationship:
Fact Table N --> 1 Calendar Table
This quarter column from my calendar table is also a filter
Then, what I'd like to achieve in my tablix in powerBI is this:
I want to show ONLY the row with the Max MONTH for each quarter selected. The filter is multiple selection.
I tried both a calculated column with MAX and MAXX but it doesn't work.
Do you have any other ideas?
Thank you!
Solved! Go to Solution.
Hi @MCacc ,
You could create a calculated column in table:
ismax =
var max_date = MAXX(ALLEXCEPT('Table','Table'[QUARTER]),'Table'[MONTH])
return
IF('Table'[MONTH]=max_date,1,0)
Then add it to visual filter and set value = 1.
Best Regards,
Jay
Hi @MCacc ,
You could create a calculated column in table:
ismax =
var max_date = MAXX(ALLEXCEPT('Table','Table'[QUARTER]),'Table'[MONTH])
return
IF('Table'[MONTH]=max_date,1,0)
Then add it to visual filter and set value = 1.
Best Regards,
Jay
Hi @MCacc , I think below is the solution for you.
1. Create a summarize table in power bi , select the modelling tab and select the new table option.
User | Count |
---|---|
84 | |
77 | |
75 | |
43 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
45 | |
43 |