Forum Discussion
DionTN
Helper II
3 years agoCalculate average for selected ID
This is the example i want. I have this imported in Power BI. How can i add this formula in DAX?
- 3 years ago
Hi,
Please check the below picture and the attached pbix file.
Score expected measure: = IF ( HASONEVALUE ( Data[ID] ), AVERAGE ( Data[Score] ) * 10 )
Jihwan_Kim
Super User
3 years agoHi,
Please check the below picture and the attached pbix file.
Score expected measure: =
IF ( HASONEVALUE ( Data[ID] ), AVERAGE ( Data[Score] ) * 10 )
DionTN
Helper II
3 years agoJihwan_Kim Can i also do this when i want to combine ID's? For example A & B?
- Jihwan_Kim3 years ago
Super User
Hi,
May I ask how does your desired outcome look like?