Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
Below is my sample data,
Table1
Table2
Expected output:
for date filter (01-01-2020 to 29-02-2020)
for date filter (01-01-2020 to 31-03-2020)
I need to dynamically filter Table1 between the start range and end range of 'No' column. The start and end range is given in Table2. I want to create a measure for column 'total', which is the summation of amount between 'No' ranges.
Solved! Go to Solution.
@Anonymous , Create a new measure like this and check
sumx(filter(values(Table1[No]), Table1[No] >= min(Table2[Start range]) && Table1[No] <= max(Table2[End range]) ), Table1[Amount])
@Anonymous , Create a new measure like this and check
sumx(filter(values(Table1[No]), Table1[No] >= min(Table2[Start range]) && Table1[No] <= max(Table2[End range]) ), Table1[Amount])
yes.......It worked out.
In that measure using sumx function, i have given sum(amount) as measure, which is created in table1 in expression part because it won't accpet columns.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |