Forum Discussion
Anonymous
3 years agoNot applicable
I Need Help in Powerbi Function
now I have a csv file contain number of chapters in a column like 1,2,3 and every chapter have many cells on it in the next column like chapter 1 verse 1 the question is I need a function returns how...
- Anonymous3 years ago
Hi Anonymous ,
I think you can try this measure in Power BI Desktop.
Measure = VAR _ADD = ADDCOLUMNS('Table',"LEN",LEN(SUBSTITUTE('Table'[Page]," ",""))) RETURN SUMX(_ADD,[LEN])Sample:
Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
3 years agoNot applicable
Hi Anonymous ,
I think you can try this measure in Power BI Desktop.
Measure =
VAR _ADD = ADDCOLUMNS('Table',"LEN",LEN(SUBSTITUTE('Table'[Page]," ","")))
RETURN
SUMX(_ADD,[LEN])
Sample:
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.