Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
I currently have two a matrix table which shows how many tables need to be opened by a certain day and time. I want to add a parameter which only affects tables that have a negative number which means they require tables to be closed. I have tried doing this by an if measure but it seems to result in the subtotals not calculating properly and only changing by the number in the parameter despite the matrix table being based on day and hour. What would the solution be to this?
In this example, the parameter is 2
Solved! Go to Solution.
Hi @Anonymous ,
Pleasee have a try.
Create another measure based on [removing tables].
result =
var _b = SUMMARIZE('table','table'[day],"aaa",'table'[removing tables])
return
IF(HASONEVALUE('table'[day]),[removing tables],SUMX(_b,[aaa]))
Or you can change the 'table'[day] to the unique column like index and so on.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Pleasee have a try.
Create another measure based on [removing tables].
result =
var _b = SUMMARIZE('table','table'[day],"aaa",'table'[removing tables])
return
IF(HASONEVALUE('table'[day]),[removing tables],SUMX(_b,[aaa]))
Or you can change the 'table'[day] to the unique column like index and so on.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
77 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
99 | |
92 | |
50 | |
49 | |
46 |