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 September 15. Request your voucher.
Hello,
I have two datasources one at weekly and other at monthly.
Wanted to use a filter that is common in both the tables as selector that will drive both the tables.
Have tried sync slicers option as well as creating relationship with temporary table (with distinct values of field from both tables)
but is not working.
Will be really helpful if someone can guide me here.
Thanks
Solved! Go to Solution.
Hi @Anonymous
I create a new "Table", use it in a slicer, i create a measure to show selected value (monthly/weekly).
selection = SWITCH(SELECTEDVALUE('Table'[slicer]),"weekly",SUM('weekly table'[weekly value]),"monthly",SUM('monthly table'[monthly value]))
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
I create a new "Table", use it in a slicer, i create a measure to show selected value (monthly/weekly).
selection = SWITCH(SELECTEDVALUE('Table'[slicer]),"weekly",SUM('weekly table'[weekly value]),"monthly",SUM('monthly table'[monthly value]))
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
remember that weeks and months are not congruent.
I would store the values on the first day of the week and the first day of the month.
The values can then be filtered using a common date table.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
User | Count |
---|---|
65 | |
62 | |
59 | |
53 | |
28 |
User | Count |
---|---|
181 | |
82 | |
67 | |
47 | |
44 |