This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi everyone,
Per the example below, I have the following table which displays the following columns:
You will notice above that each project has data for every Period.
I have a separate custom table (created in Power Query) which displays each distinct period. The Value column is the result of a measure which returns the associated value for each project per the relevant period.
Problem:
I have another column (Selected Period Value) which should return the associated value for the selected period in a slicer and selected project. This value should repeat across all rows. This is to allow me to run another separate calculation (Difference).
In PowerBI, I have attempted to use the SELECTEDVALUE function to return the selected period as a paramater in a measure. But this results in Blank data being returned.
Selected Period = SELECTEDVALUE('REF_Programme Financials Unpivot'[Sheet Number (Period)], BLANK())
Could anyone please advise how I should approach and resolve this?
Best regards,
AmiK
Solved! Go to Solution.
@imranamikhan , In such cases it better to have separate period table and use that.
As per me these two mesures should work
Value = SUM ( 'SP_XL_Programme Financials'[Current Authority] )
value selected = calculate([Values], filter(All(Period), Period[period] =selectedvalue(Period[period])))
then you can take diff
@amitchandak - There was an issue with my data model and the solution now works. Thank you
@imranamikhan , In such cases it better to have separate period table and use that.
As per me these two mesures should work
Value = SUM ( 'SP_XL_Programme Financials'[Current Authority] )
value selected = calculate([Values], filter(All(Period), Period[period] =selectedvalue(Period[period])))
then you can take diff
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 27 | |
| 24 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 50 | |
| 33 | |
| 24 | |
| 24 |