Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have created two what if parameters to be able to show the top N (5, 10, 15 etc) ranking and then another paramater that filters out any sales that are below a certain threshold.
I would expect the graph to still show the top N but instead the minimum number of sales parameter overrides the ranking. For example the below graph should be showing 20 bars but instead is only showing 6
Is there a way to get the parameters to work correctly together?
So far I have tried the interactions and syncing but can't seem to get it to work correctly.
Thanks in advance.
Hi @e_j,
Did the folders create based on the same what-if parameter table? AFAIK, current power bi not able to get different selections from the filters with same data source filed.
I'd like to suggest you create two what-if parameter tables and use them to create slicer/filters, then you can use DAX functions to extract the selection from two tables.
Regards,
Xiaoxin Sheng
@amitchandaksorry for stupid question but what do I do with these measures once created?
@e_j , Try measures like
//use sales filter first
M1= CALCUALTE(sumx(filter(VALUES(Data[Customer]), [sales] >= selectedvalues(salesparam[salesparam])),[sales]))
//Then filter TOPN
M2 = CALCULATE( [M1],TOPN(selectedvalues(Rankval[Rankval]),allselected(Data[Customer]),[M1],DESC))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |