The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I am having a requirement, In power bi
I am having a slicer sales & quantity , so when i select sales only sales measure like (YTD sales,current sales,previous sales) should be visible. if i select quantity (YTD Quantity,YTD Current Quantity,Previous Quantity) should be visible.
YTD sales,Current sales, Previous sales , YTD quantity,Current Quantity,Previous Quantity are measure used in the report.
[Sales , quantity] slicer table is a disconnected table.
my requirement is like
If(slicer="Sales",Filter(Ytd Sales,Current Sales,Previous Sales),
filter(YTD Quantity,Current Quantity,Previous Quantity))
Im a bit stuck can anybody help me out?
Solved! Go to Solution.
Hi , @Anonymous
For your need , you can refer to this solution:Re: Sorting Calculation Group within Headers - Microsoft Power BI Community
1. Create the table Topic with each topic and its associated measure names:
2. Create a fields parameter with each measure listed in the table above. Uncheck "Add slicer to this page".
3. Create a relationship between Topic and TopicParameter. The default is bidirectional, but I changed it to unidirectional (I avoid bidirectional relationships whenever possible).
4. Create a matrix and add TopicParameter to the Values field well:
5. Create a slicer using Topic[Topic].
6. Sort by any matrix column:
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , @Anonymous
For your need , you can refer to this solution:Re: Sorting Calculation Group within Headers - Microsoft Power BI Community
1. Create the table Topic with each topic and its associated measure names:
2. Create a fields parameter with each measure listed in the table above. Uncheck "Add slicer to this page".
3. Create a relationship between Topic and TopicParameter. The default is bidirectional, but I changed it to unidirectional (I avoid bidirectional relationships whenever possible).
4. Create a matrix and add TopicParameter to the Values field well:
5. Create a slicer using Topic[Topic].
6. Sort by any matrix column:
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
@Anonymous , Consider field parameters or calculation groups
check video link below
Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0
User | Count |
---|---|
79 | |
73 | |
39 | |
30 | |
28 |
User | Count |
---|---|
108 | |
99 | |
55 | |
49 | |
45 |