Forum Discussion
LizK75
1 year agoFrequent Visitor
Max Revenue by Month Issue
I have two tables: IN for Invoice (contains amount and date columns) - date column is in format of Year Month Date (contains Year, Year Month, Month, and date columns) I’ve created a relationsh...
- 1 year ago
Hi,
I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
Amount measure: = SUM('IN'[amount])expected result measure: = MAXX ( ALL ( 'Date'[Year], 'Date'[Year-Month sort], 'Date'[Year-Month], 'Date'[Month name], 'Date'[Month number] ), [Amount measure:] )
Jihwan_Kim
1 year agoSuper User
Hi,
I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
Amount measure: =
SUM('IN'[amount])
expected result measure: =
MAXX (
ALL (
'Date'[Year],
'Date'[Year-Month sort],
'Date'[Year-Month],
'Date'[Month name],
'Date'[Month number]
),
[Amount measure:]
)