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'm working on a dashboard and I'm creating some measures. For example
Sales
COGS
Profit
Net Profit
GP
I would like to display both sold and pending on a single matrix.
The question is, can I avoid passing through filter conditions that are the same. The four filters would need to be applied to each calculate statement. Is there a more optimal method of stating the filter group once and referencing it throughout the model.
i.e.
You could create a calculated column to fit all those requirements and reference it. Should at least make it more readable so your measures would be like
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
12 | |
10 | |
6 |