March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
i have a situation on image :
I need to calculate number of distinct values from first column who have more than 2% of last column, and i want to put this information into new card. I want to see number of 4.
How to write dax code?
Solved! Go to Solution.
@simaue
Create a measure as follows:
NewMEASURE =
COUNTROWS (
FILTER (
ADDCOLUMNS ( VALUES ( table[Sifra cupca] ), "@m", [iUcescesUprometu] ),
[@m] > 0.02
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@simaue
Create a measure as follows:
NewMEASURE =
COUNTROWS (
FILTER (
ADDCOLUMNS ( VALUES ( table[Sifra cupca] ), "@m", [iUcescesUprometu] ),
[@m] > 0.02
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hello @simaue ,
kindly provide a sample data that we can copy so we could provide a solution. also the measure for the percentage column.
Proud to be a Super User! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
167 | |
117 | |
63 | |
57 | |
50 |