Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello everybody,
I'm stuck trying to solve a question that seems simple, but it's been giving me a bit of work.
Imagine that I have a table with:
- Year
- Month
- Ticket number
I created some cards like:
- Total Tickets Year: I created with the number of tickets for the desired year, using the visual filter.
- Current Total Tickets Month: I inserted a slicer, in order to be more dynamic, and when selecting the month in question, using the "Edit Interaction" and the result is seen inside the card.
- % Participation Month/Year: In this part I'm stuck.
Because it is an interactive filter, I am not able to create a measure that is variable according to the selection made in the selection box.
Can anyone help me?
EDITED:
Example below:
In green: all information filtered by "Edit interaction".
In red: The information I need. According to the month I select, all the information of "All Tickets", "Completed" and Open will be different, and I need to calculate the participation %.
Solved! Go to Solution.
Hi @PatrickPerovan ,
Please try these measure.
Current Year Value =
CALCULATE (
SUM ( 'Table'[Value] ),
FILTER ( ALL ( 'Table' ), 'Table'[Date].[Year] = MAX ( 'Table'[Date].[Year] ) )
)
% Participation Month/Year =
DIVIDE ( SUM ( 'Table'[Value] ), [Current Year Value] )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @PatrickPerovan ,
Please try these measure.
Current Year Value =
CALCULATE (
SUM ( 'Table'[Value] ),
FILTER ( ALL ( 'Table' ), 'Table'[Date].[Year] = MAX ( 'Table'[Date].[Year] ) )
)
% Participation Month/Year =
DIVIDE ( SUM ( 'Table'[Value] ), [Current Year Value] )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@PatrickPerovan , Better to have a separate month year table(Say Date) with key Year, month and columns of month and year too
Then year value
calculate(Count(Table[Ticket Number]), filter(all(Date), Date[Year] = max(Date[Year]) ) )
year value with same table
calculate(Count(Table[Ticket Number]), filter(all(Table), Table[Year] = max(Table[Year]) ) )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
77 | |
63 | |
51 | |
47 |
User | Count |
---|---|
212 | |
82 | |
61 | |
60 | |
57 |