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 Team,
Please help with below request.
I have 3 measures and 3 dimensions as shown below.
Dims Measure
Branch Budget Budget
InsideSalesName InsideSalesBudget
->Inside SalesNumber
OusideSalesName OutsideSalesBudget
->OutsideSalesNumber
So i need to create single calculated measure 'Budget' that displays respective measure value depending on dimension picked by user in visual.
@pmadam , Now if you want change both dimension(Axis/Row/Group by) and measure, You need bookamarks and button
Dynamically change chart axis in Power BI
bookmark -https://blog.crossjoin.co.uk/2018/04/20/dynamically-changing-a-chart-axis-in-power-bi-using-bookmarks-and-buttons/
But if only want change the axis then you need to have independent table with these three values and use a measure slicer
Measure =
var _change =selectedvalues(Table[Dimension])
return
SWITCH (
TRUE(),
_change = "Branch Budget " , [Budget ],
_change = "Inside Sales Name" , [InsideSalesBudget],
_change = "Outside Sales Budget " , [OutsideSalesBudget],
)
measure slicer
https://www.youtube.com/watch?v=b9352Vxuj-M
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...
https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slic...
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
13 | |
11 | |
9 | |
6 |