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.
I am trying to create a slicer that can select which increase in percentage (or just the base value) is represented in all visuals/cards for a single page. They need to be categorized by Order ID in order for me to filter by other field (such as business sector, date of order, etc.).
I know how to do this in Excel, but I want the page to be replicable by someone else once I transfer out of the department, so having a DAX code they could copy and paste when they refresh the dashboard is really what I'm after here.
An example of the data I currently am working with is below:
Order ID | Base Value | 2% | 3% | 5% |
1 | 100 | 102 | 103 | 105 |
2 | 300 | 306 | 309 | 315 |
3 | 150 | 153 | 154.5 | 157.5 |
4 | 200 | 204 | 206 | 210 |
Any advice would be extremely helpful, and deeply appreciated.
Thanks in advance,
jjck
Solved! Go to Solution.
Hi, @jjck
Pick ID and Base value in PowerQuery, then select Unpivot Other Columns.
Select Apply. Then create a new column, use the following dax:
CombinedColumn = COMBINEVALUES ( "|", 'Table'[Order ID], 'Table'[Attribute] )
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @jjck
Pick ID and Base value in PowerQuery, then select Unpivot Other Columns.
Select Apply. Then create a new column, use the following dax:
CombinedColumn = COMBINEVALUES ( "|", 'Table'[Order ID], 'Table'[Attribute] )
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I am not a Power BI expert, but my gut tells me you are going about this the wrong way using a bunch of calculated columns. In my opinion, a more robust solution would be to create a separate table with the various percentage increases. You can load this easily into a slicer and then create measures for your visuals using SELECTEDVALUE. This also offers the added benefit of adding more increases easily (e.g. 2.5%, 7%, etc.) versus having to expand out the number of calculated columns in your Orders table. My 2 cents.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |