Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I would like to filter measure according to another measure condition. For example, calculate(a, filter(b<30).
But problem is that new column becomes same as old. I don't get why it happens.
For example,
Measure equals to Bendra skola even Measure contains blank values, so how to fix my measure to calculate correctly.
Hi @Analitika ,
Can you just change the measure like below,
Filtered measure =
SUMX (
FILTER (
AllSelected( 'DBA klient_tiekejai'),
[DATA PRADELSIMAS_ST] <= 30
),
CALCULATE ( [_m_ST_Bendra_Skola] )
)
Please Accept it as a solution if it solves your problem. Thanks.
When the calculation is performed at the grand total level then the filter condition is met. You need to iterate over whichever column provides a unique identifier for the row in your table, e.g. if the rows each show a different date then you could use
Filtered measure =
SUMX (
VALUES ( 'Date'[Date] ),
CALCULATE ( [A], FILTER ( 'Table', [B] < 30 ) )
)
I tried but it didn't change at all:
Try
Filtered measure =
SUMX (
FILTER (
VALUES ( 'DBA klient_tiekejai'[kli_pav] ),
[DATA PRADELSIMAS_ST] <= 30
),
CALCULATE ( [_m_ST_Bendra_Skola] )
)
I have inserted that measure but my visual can't load, memory exceeded. Getting this:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
75 | |
68 | |
39 | |
35 |
User | Count |
---|---|
107 | |
56 | |
52 | |
48 | |
40 |