Forum Discussion
PaisleyPrince
Advocate II
9 months agoMeasure required in Power BI matrix
Hi, I have a matrix showing values by weeks and months but i only want the week % to be shown as that related to the current month rather than the overall total as per the screenshot. Can you please...
- 9 months ago
Please check and confirm
Base measure
Total Invoice Value :=
SUM ( FactInvoices[InvoiceValue] )
Final single % measure (use this in matrix)
Div Week % of Month :=
VAR MonthTotal =
CALCULATE (
[Total Invoice Value],
REMOVEFILTERS ( Date[WeekNo], FactInvoices[Division] )
)
RETURN
DIVIDE ( [Total Invoice Value], MonthTotal, 0 )
krishnakanth240
Super User
9 months ago
Please check and confirm with headsup. Thank You!
Week % of Month =
VAR WeekVolume =
SUM ( Fact[volume] )
VAR MonthVolume =
CALCULATE (
SUM ( Fact[volume] ),
REMOVEFILTERS ( 'Date'[Week No] )
)
RETURN
DIVIDE ( WeekVolume, MonthVolume )